July 2017
Beginner
466 pages
9h 37m
English
Let's open the UnitTest1.cs file and add the following two test methods in it. The first one will create two instances of the Person class and check to ensure that both the instances are different. The second method will create one instance of the Person class, assign it to another variable, and check to ensure that both the instances are equal:

When you start writing the code line-by-line, you will see that the Live Unit Testing will run in the background and provide the status of the code coverage and test results at the left-hand side bar. Here, in the preceding screenshot, every line generates a green ...
Read now
Unlock full access