Re:What I Learned from Watching Notch Code
by chrisrhoden on Tuesday September 13, 2011 @07:23PM
(#2994054)
I 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 :)
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?