Unit testing is a method by which individual units of source code are tested to determine if they are fit for use.
A unit is the smallest testable part of an application. In procedural programming, a unit may be an individual function or procedure. Unit tests are created by programmers or occasionally by white box testers.
- The Art of Unit Testing: with examples in C# by Roy Osherove
- Test Driven Development: By Example by Kent Beck
- xUnit Test Patterns: Refactoring Test Code by Gerard Meszaros
- The Art of Unit Testing: with Examples in .NET by Roy Rsherove
- Test Driven: TDD and Acceptance TDD for Java Developers by Lasse Koskela
- Growing Object-Oriented Software, Guided by Tests by Steve Freeman and Nat Pryce
- XP Episode bowling example, by Robert Martin and Robert Koss