Boost C++ Libraries Home Libraries People FAQ More

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