Take the 2-minute tour ×
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
add comment

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:

http://www.raywenderlich.com/3716/unit-testing-in-xcode-4-quick-start-guide

http://developer.apple.com/library/ios/#DOCUMENTATION/DeveloperTools/Conceptual/UnitTesting/00-About_Unit_Testing/about.html

share|improve this answer
add comment

Your Answer

 
discard

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.