Sign up ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

How to implement Unit Testing with Cocos2D framework? What are the good practices?

Is there any testing framework like JUnit Framework at Eclipse for Android?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

If you are using XCode, it has a testing framework called OCUnit built in. Otherwise there are other framework options. I would try adding a mocking framework if it is not already included by now.

This is a good start:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.