Unit Testing / Test Driven Design

Hello to all, I’m currently learning about TDD and how to apply it to JavaScript as well as to game development projects.

I just saw there is a “UnitTest.js” file in the “samples/tests” folder of cocos2d-html5 and I’m also aware of the existance of several frameworks for unit testing on javascript: http://en.wikipedia.org/wiki/List_of_unit_testing_frameworks#JavaScript
But I’m wondering how you guys do it.

Or is it just not plausible to develop games on cocos2d-html5 following TDD practices?

1 Like