List of Listings
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
Get The Art of Unit Testing, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.