November 2013
Intermediate to advanced
292 pages
8h 13m
English
Chapter 1. The basics of unit testing
Listing 1.1. A simple parser class to test
Listing 1.2. A simple coded method that tests the SimpleParser class
Listing 1.3. Running coded tests via a simple console application
Listing 1.4. Using a more generic implementation of the ShowProblem method
Chapter 2. A first unit test
Listing 2.1. The LogAnalyzer filename-validation logic to test
Listing 2.2. Using [SetUp] and [TearDown] attributes
Listing 2.3. The LogAnalyzer filename-validation logic to test
Listing 2.4. Testing the property value by calling IsValidLogFileName
Listing 2.5. Testing a class by calling a method and checking the value of a property
Read now
Unlock full access