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_GLOBAL_FIXTURE

Declares and registers a global fixture. The global fixture acts exactly as a suite fixture attached to the master test suite, and is called before any of the test case in the test tree is executed.

The class implementing the fixture should have the appropriate interface. As any fixture, it is possible to have test assertions in the global fixture.

See here for more details.


PrevUpHomeNext