
Unit Test Frameworks
Tools for High-Quality Software Development
Publisher: O'Reilly Media
Release Date: February 2009
Pages: 216
Read on O'Reilly Online Learning with a 10-day trial
Start your free trial now Buy on AmazonWhere’s the cart? Now you can get everything with O'Reilly Online Learning. To purchase books, visit Amazon or your favorite retailer. Questions? See our FAQ or contact customer service:
1-800-889-8969 / 707-827-7019
support@oreilly.com
- 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
Table of Contents
-
Chapter 1 Unit Test Frameworks: An Overview
-
Test Driven Development
-
Unit Testing and Quality Assurance
-
Homegrown Unit Testing
-
-
Chapter 2 Getting Started: Tutorial
-
Outline of an Application: the Virtual Library
-
Example 1: Create a Book
-
Example 2: Create a Library
-
-
Chapter 3 The xUnit Family of Unit Test Frameworks
-
xUnit Family Members
-
xUnit Extensions
-
The xUnit Architecture
-
xUnit Architecture Summary
-
-
Chapter 4 Writing Unit Tests
-
Types of Asserts
-
Defining Custom Asserts
-
Single Condition Tests
-
Testing Expected Errors
-
(Not) Testing Get/Set Methods
-
Testing Protected Behavior
-
Test Code Organization
-
Mock Objects
-
AbstractTest
-
Performance Tests
-
New Library and Book Code
-
-
Chapter 5 Unit Testing GUI Applications
-
Library GUI
-
-
Chapter 6 JUnit
-
Overview
-
Architecture
-
Usage
-
Test Assert Methods
-
-
Chapter 7 CppUnit
-
Overview
-
Architecture
-
Usage
-
Test Assert Methods
-
-
Chapter 8 NUnit
-
Overview
-
Architecture
-
Usage
-
Test Assert Methods
-
-
Chapter 9 PyUnit
-
Overview
-
Architecture
-
Usage
-
Test Assert Methods
-
-
Chapter 10 XMLUnit
-
Overview
-
Architecture
-
Usage
-
Test Assert Methods
-
-
Chapter 11 Resources
-
Web Sites
-
Discussion Groups
-
Books
-
-
Appendix A Simple C++ Unit Test Framework
-
Example 1: Create a Book
-
Example 2: Create a Library
-
-
Appendix B JUnit Class Reference
-
Appendix C CppUnit Class Reference
-
Colophon