Take a moment to study nunit ..
Under several data backups:
Use unit test tool nunit in. Net EnvironmentChoose blog http://dev.csdn.net/develop/article/22/22482.shtm from Shanyou
Incredible http://www.cnblogs.com/cxsharp/articles/1852.aspx blog
1. Download and install nunit:
Http://nunit.sourceforge.net/
2. See the following.ArticleSimple Example:
* Use nunit for unit testing in. NET Programming
Http://www.microsoft.com/china/community/Column/59.mspx
* Quickstart
C: \ Program Files \ nunit V2.1 \ doc \ quickstart.doc
Use the unit test tool nunit in the. NET Environment
Http://www.csdn.net/develop/Read_Article.asp? Id = 22482
3. Advanced: Learn two brilliant articles on msdn:
* Unit testing and prior testing and development:
Http://www.microsoft.com/china/msdn/library/dncscol/html/csharp03202003.asp
* Get test infected with nunit: unit test your. NET data access:
Http://msdn.microsoft.com/library/default.asp? Url =/library/en-US/dnaspp/html/aspnet-testwithnunit.asp
The example in this article is very similar to the actual Enterprise Project Development test!
4. Some resources (Google ):
* Integrate nunit into vs. Net -- NUnitAddin-0.5.120d.msi, testrunner (as if there were some minor issues );
* Use test-driven development in the. NET environment ):
Http://www.dotspace.idv.tw/xp/Test-Driven%20Development%20In%20.NET.htm
Unit Test Series learning notes
Http://www.cnblogs.com/batoosai/archive/2006/05/25/Nunit0004.html