Unit Test Frameworks: Tools for High-Quality Software Development

Front Cover
"O'Reilly Media, Inc.", 2004 - Computers - 198 pages
0 Reviews

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.
 

What people are saying - Write a review

We haven't found any reviews in the usual places.

Contents

Preface
An Overview
Tutorial
The xUnit Family of Unit Test Frameworks
Writing Unit Tests
Unit Testing GUI Applications
JUnit
CppUnit
PyUnit
XMLUnit
Resources
Simple C++ Unit Test Framework
JUnit Class Reference
CppUnit Class Reference
Glossary
Index

NUnit

Other editions - View all

Common terms and phrases

About the author (2004)

Paul Hamill is a highly experienced software developer with more than ten years of experience developing code using C/C++, Java, and other languages. He has a BS ME from Cornell University and an MS EE from the University of Colorado, and is the published co-author of several academic papers on advanced CAD software. His recent experience includes work on a number of small entrepreneurial software development teams relying on eXtreme Programming (XP) and unit testing methodologies.

Bibliographic information