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

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

BOOST_TEST_MODULE

Serves the same purpose as the macro BOOST_TEST_MAIN but, in addition, defines the name of the master test suite.

[Caution] Caution

As BOOST_TEST_MAIN, this macro should

  1. be defined before any inclusion directive to Unit Test Framework headers
  2. be defined exactly for one compilation unit of your test module

An example may be found here.


PrevUpHomeNext