1. Prepare testdriven and nunit.
Unit TestProgramPersonnel is basically a required skill. The phrase "the treasure of a thousand miles and the ant nest" is also applicable to programmers. One Daniel said, "dummies can write programs that make machines understand, and real smart people can write programs that make people understand ". Unit Testing can significantly improve the quality of your programs. When a project becomes very large, good unit testing can also improve the quality of the project. Of course, it can also bring people a sense of accomplishment. Okay, let's get started with unit testing.
Download testdriven: http://www.testdriven.net/default.aspx
Download nunit: http://www.nunit.org/index.php? P = download
Nunit is well known and has powerful functions. Although nunit supports GUI and console, It is not intuitive enough to use it. We have to switch the window constantly to see the test results. Testdriven is very convenient. It is well integrated with Visual Studio. net2003 and 2005, so it can be tested on demand. It can greatly improve the efficiency of our testing. After testdriven is installed