My question is purposely very general because I am trying to figure out how I’ll write tests for my game, which at this point has bugs. I am wondering:
- How do you approach testing your SDL games?
- What testing frameworks do you use or recommend?
My question is purposely very general because I am trying to figure out how I’ll write tests for my game, which at this point has bugs. I am wondering:
Single-man project, currently about 45kLoC:
Only debugger can tell you the truth.
Its a very good idea to test your library code. I don’t hear too much about people (unit) testing their game mechanics. Although I heard of a few recording the controller and playing it back after a commit and before any git push to confirm the inputs still pass the level