How to set up Unit Testing in Visual Studio

preview_player
Показать описание
0:00 Step 1 - Add a new MS Test Project to the SOLUTION
2:05 Step 2 - Add a Project Reference to ConsoleAppProject
3:01 Step 3 - Then include a reference to ConsoleAppProject App01 directory
3:12 Step 4 - Set up an object of the DistanceConverter Class
4:19 Step 5 - Change the scope of the attributes to public
5:45 Step 6 - Create a Test method and assign values to the attributes so the user does not have to enter them
8:45 Step 7 - Use an Assertion to check the expected value against the actual value
10:04 Running the test in VS
11:39 Recap
Рекомендации по теме
visit shbcf.ru