May 2010
Intermediate to advanced
1272 pages
61h 18m
English
The first step in the Test-Driven Development approach is creating a Test Project related to the actual application project. Follow these steps:
1. Create a new class library named Rectangle and remove the Class1.vb default file.
2. Add a new test project to the solution. To accomplish this, select File, Add, New Project, and then in the Test Projects folder, select the Test Documents sub node, finally select the Test Project template. Figure 59.11 shows how to find and select the template in the New Project dialog.
Figure 59.11 Creating a new test project.

3. Add a new class to the test project and name it RectangleTest.vb ...
Read now
Unlock full access