Books & Videos

Table of Contents

  1. Chapter 1 Unit Test Frameworks: An Overview

    1. Test Driven Development

    2. Unit Testing and Quality Assurance

    3. Homegrown Unit Testing

  2. Chapter 2 Getting Started: Tutorial

    1. Outline of an Application: the Virtual Library

    2. Example 1: Create a Book

    3. Example 2: Create a Library

  3. Chapter 3 The xUnit Family of Unit Test Frameworks

    1. xUnit Family Members

    2. xUnit Extensions

    3. The xUnit Architecture

    4. xUnit Architecture Summary

  4. Chapter 4 Writing Unit Tests

    1. Types of Asserts

    2. Defining Custom Asserts

    3. Single Condition Tests

    4. Testing Expected Errors

    5. (Not) Testing Get/Set Methods

    6. Testing Protected Behavior

    7. Test Code Organization

    8. Mock Objects

    9. AbstractTest

    10. Performance Tests

    11. New Library and Book Code

  5. Chapter 5 Unit Testing GUI Applications

    1. Library GUI

  6. Chapter 6 JUnit

    1. Overview

    2. Architecture

    3. Usage

    4. Test Assert Methods

  7. Chapter 7 CppUnit

    1. Overview

    2. Architecture

    3. Usage

    4. Test Assert Methods

  8. Chapter 8 NUnit

    1. Overview

    2. Architecture

    3. Usage

    4. Test Assert Methods

  9. Chapter 9 PyUnit

    1. Overview

    2. Architecture

    3. Usage

    4. Test Assert Methods

  10. Chapter 10 XMLUnit

    1. Overview

    2. Architecture

    3. Usage

    4. Test Assert Methods

  11. Chapter 11 Resources

    1. Web Sites

    2. Discussion Groups

    3. Books

  1. Appendix A Simple C++ Unit Test Framework

    1. Example 1: Create a Book

    2. Example 2: Create a Library

  2. Appendix B JUnit Class Reference

  3. Appendix C CppUnit Class Reference

  4. Colophon