Game Development Reference
In-Depth Information
/run and a space before the list of assemblies, NUnit will launch and immediately
begin processing. Figure 10.7 shows the property page after it has been configured
to be consumed externally.
Figure 10.7 Debugging property page configured.
At this point, you can have the test's assembly selected as the startup project and run
everything. If configured correctly, NUnit will fire up with your assembly loaded.
Conclusion
Unit testing is a worthwhile habit to pick up that is extremely beneficial on both a
professional and personal software development level. This chapter covered a fair
amount of unit testing and performing unit tests on the .NET platform, but the
concept of unit testing is much more complex than what I have described here.
There are many are topics like regression tests, integration tests, mock objects, and
data-driven testing, which are beyond the scope of the information presented here.
Links to additional information and resources are listed below.
http://www.testdriven.net
http://www.nunit.org
http://www.csunit.org (NUnit alternative)
http://www.mockobjects.com
Search Nedrilad ::




Custom Search