Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Overview

Unit test frameworks are a key element of popular development methodologies such as eXtreme Programming (XP) and Agile Development. But unit testing has moved far beyond eXtreme Programming; it is now common in many different types of application development. Unit tests help ensure low-level code correctness, reduce software development cycle time, improve developer productivity, and produce more robust software. Until now, there was little documentation available on unit testing, and most sources addressed specific frameworks and specific languages, rather than explaining the use of unit testing as a language-independent, standalone development methodology. This invaluable new book covers the theory and background of unit test frameworks, offers step-by-step instruction in basic unit test development, provides useful code examples in both Java and C++, and includes details on some of the most commonly used frameworks today from the XUnit family, including JUnit for Java, CppUnit for C++, and NUnit for .NET. Unit Test Frameworks includes clear, concise, and detailed descriptions of:

  • The theory and design of unit test frameworks

  • Examples of unit tests and frameworks

  • Different types of unit tests

  • Popular unit test frameworks

  • And more

It also includes the complete source code for CppUnit for C++, and NUnit for .NET.

Subscriber Reviews

Average Rating: 3 out of 5 rating Based on 1 Rating

No Subscribers have provided a review for this book.

Table of Contents

 Index

Extras

The publisher has provided additional content related to this title.


Description
Content

Visit the catalog page for Unit Test Frameworks

  • Catalog Page

Visit the errata page for Unit Test Frameworks

  • Errata

Download the supplemental electronic content for Unit Test Frameworks

  • Supplemental Content