Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XNA Unit Testing

So I'm interested in hearing different thoughts about what is the best way to go about unit testing XNA Game/Applications. Astute googlers can probably figure out why I'm asking, but I didn't want to bias the topic :-)

like image 457
Joel Martinez Avatar asked Aug 28 '08 17:08

Joel Martinez


2 Answers

I would that this question is geared more toward the approach of unit testing in game development. I mean, XNA is a framework. Plug in NUnit, and begin writing test cases while you develop.

Here is a post on SO about unit testing a game. It'll give you a little insight into how you need to think while progressing.

like image 150
David McGraw Avatar answered Nov 06 '22 10:11

David McGraw


XNA BOOK

This book shows how to code in XNA but the entire book is based on NUNIT testing. So while you are coding the projects in the book, he also shows you how to write the scripts for NUNIT to test the XNA code.

like image 36
autonm Avatar answered Nov 06 '22 09:11

autonm