Table Of Contents
Preface
1. Unit Test Frameworks: An Overview
Test Driven Development
Unit Testing and Quality Assurance
Homegrown Unit Testing
2. Getting Started: Tutorial
Outline of an Application: the Virtual Library
Example 1: Create a Book
Example 2: Create a Library
3. The xUnit Family of Unit Test Frameworks
xUnit Family Members
xUnit Extensions
The xUnit Architecture
xUnit Architecture Summary
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
5. Unit Testing GUI Applications
Library GUI
6. JUnit
Overview
Architecture
Usage
Test Assert Methods
7. CppUnit
Overview
Architecture
Usage
Test Assert Methods
8. NUnit
Overview
Architecture
Usage
Test Assert Methods
9. PyUnit
Overview
Architecture
Usage
Test Assert Methods
10. XMLUnit
Overview
Architecture
Usage
Test Assert Methods
11. Resources
Web Sites
Discussion Groups
Books
A. Simple C++ Unit Test Framework
B. JUnit Class Reference
C. CppUnit Class Reference
Glossary
Index
|
Related Books
Software Testing Books Test Execution Books Load Testing Books
Keywords
component testing
framework
frameworks
software testing
testing
testing software
unit test
unit testing
Related Articles
Tata Deal with Agitar on Unit Testing
STAREAST 2006
Automated Tester for Hedge Fund
BroadSoft Tenant In tekVizion Lab
Open Source Java Desktop From Apache
implementation
|