Boost C++ Libraries Home Libraries People FAQ More

Next

Boost.Test

Gennadiy Rozental

Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

Table of Contents

What is Boost.Test?
The unit test framework tutorials
Hello the testing world ... or beginner's introduction into testing using the Unit Test Framework
Boost.Test driven development ... or "getting started" for TDD followers
User's guide
Introduction ... or where to start?
The UTF usage variants ... or the Buridan's donkey parable
The static library variant of the UTF
The dynamic library variant of the UTF
The single-header variant of the UTF
The external test runner variant of the UTF
Test organization... or the house that Jack built
Test cases
Nullary function based test case
Unary function based test case
Template test cases
Test suite
Master Test Suite
Expected failures specification
The UTF testing tools... or tester's toolbox for all occasions
Assertion severity level
Custom predicate support
Output streams testing tool
Floating-point testing
UTF testing tools reference
Fixtures... or let me repeat myself
Generic fixture model
Per test case fixture
Test suite level fixture
Global fixture
Test output ... or let's see what you got for your money
Test log output
Logging tool arguments
BOOST_TEST_MESSAGE
BOOST_TEST_CHECKPOINT
BOOST_TEST_PASSPOINT
Logging floating point type numbers
Human readable log output format
XML based log output format
Compile time configuration
Log output stream redirection
Log level configuration
Predefined log format selection
Custom log format support
Test progress display
Minimal testing facility
Usage
Testing tools
Example
Runtime configuration ... or what are the strings I can pull?
Running specific test units selected by their name
Runtime parameters reference
The unit test framework usage recommendations
General
Microsoft Visual Studio .NET usage recommendations
Command line usage recommendations
Frequently Asked Questions
Glossary... or what's your name?
Portability
Open issues
Release notes
Acknowledgements

Test everything that could possibly break

XP maxim

The Boost.Test library provides a matched set of components for writing test programs, organizing tests into simple test cases and test suites, and controlling their runtime execution. The Program Execution Monitor is also useful in some production (non-test) environments.

About this documentation

This documentation is not intended to be read though from the beginning to the end by a novice user. You can do that if you are interested in detailed bottom-up description of all Boost.Test components. Otherwise you are better off jumping directly to the subject of your interest.

For example:

Last revised: February 06, 2014 at 14:36:10 GMT


Next