O'Reilly logo

The Art of Unit Testing: with Examples in .NET by Roy Osherove

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required