Книги автора: C# 2008 Programmer
Книга: C# 2008 Programmer
Running the Test
Running the Test
Before you run the unit test, take a look at the Test Tools toolbar (see Figure 2-73) automatically shown in Visual Studio 2008.
Figure 2-73
To run the unit test, click the Run All Tests in Solution button in the toolbar. In this case, the lengthTest()
method passed the test. The length between two points (3,4) and (0,0) is indeed 5 (see Figure 2-74).
Figure 2-74
You can make modifications to the lengthTest() method to test other parameters. In the Test Results window, you have the option to view the previous test results (see Figure 2-75).
Figure 2-75
Оглавление статьи/книги
Похожие страницы
- Simple test equipment
- Using the CETK Workstation Server Application
- Running the Program
- 5.4.6 Debugging on the Target
- Testing PHDIo
- Using the CETK
- Create a Test Suite
- Running Clientside.exe Manually
- 5.4.2 The Cross-Development Environment
- 4.4.4 The Dispatcher
- About the author
- Chapter 7. The state machine