4 ms·
you're talking about Test-Driven-Development (TDD). Any good resources for integrating TDD into javascript based games? I'm still looking for that gem. To expa
by bazookaBen 15y ago
you're talking about Test-Driven-Development (TDD). Any good resources for integrating TDD into javascript based games? I'm still looking for that gem.
To expand on testing a bit: at one end, there's unit testing where one tests maybe a single object's behavior in the game. I think for game dev, testing for absolute values are not as important as deterministic ones. We would rather want to know if a player has jumped, died or shot something.
Eventually, a functional testing is needed when objects interact with one another. It's like a system of systems.
That one's more complicated to design. It might go as far as designing a test that runs through a complete level within miliseconds. Anyone have ideas/resources on this?
- chrisrhoden 15y agoI am well aware of testing, TDD, BDD, and have been plugged into the scene for a while. For the server and client both, I really like Jasmine as a testing framework. Of course, there's always cucumber :) http://pivotal.github.com/jasmine/ http://pivotal.github.com/jasmine/