Part 1. Getting started


This part of the book covers the basics of unit testing.

In chapter 1, we’ll define what “good” unit testing means and compare it with integration testing, and we’ll take a brief look at test-driven development and its role in relation to unit testing.

Then, in chapter 2, we’ll take a stab at writing our first unit test using NUnit. We’ll get to know NUnit’s basic API, how to assert things, and how to run the test in the NUnit test runner.