NUnit Core Concepts

Now that you have successfully coded, compiled, and executed your first programmer tests, let’s spend some time exploring the vocabulary of the NUnit Framework. So far, we have talked about test fixtures, test cases, and test runners.

In the following section, we discuss test case.

Test Case

Test case is a self-validating programmer test that can be automatically discovered and executed independently of other test cases by a test runner. Following are a few important points about test case:

  • Test case is a programmer test. Although it is a pretty loose concept to pin down, the general rule of thumb is that the programmer test is a low-level test that aims to verify either method-level or class-level behavior.

  • Test case is a self-validating ...

Get Test-Driven Development in Microsoft® .NET 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.