Boost C++ Libraries

“...one of the most highly regarded and expertly designed C++ library projects in the world.” Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

Boost logo

Boost Test Library

"Test everything that could possibly break"

XP maxim

Introduction
Components

Execution monitor
Program Execution Monitor
Test Tools
Test Execution Monitor
Unit Test Framework
Minimal testing facility

FAQ
Usage recomendations
Release notes
Open Issues
Examples
Tests
Compilation
Portability
Acknowledgements

Introduction

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

Release notes

  • Zero arity function template based test case
  • Custom exception translators support in execution monitor and register_exception_translator added for unit test framework
  • Test cases dependency support
  • Added support for multi-module unit tests in automatic registration facility
  • Floating point comparison algorithm reworked (Is not backward compatible!!!)
  • First failed assertion support
  • Added support for custom users predicate returning both boolean result code and possibly error message
  • Major documentation structure rework and update

For more details see complete release notes.