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

Function register_global_fixture

boost::unit_test::framework::register_global_fixture — Adds a new global fixture to be setup before any other tests starts and tore down after any other tests finished. Test unit fixture lifetime should exceed the testing execution timeframe.

Synopsis

// In header: <boost/test/framework.hpp>


void register_global_fixture(test_unit_fixture & tuf);

Description

Parameters:

tuf

fixture to add


PrevUpHomeNext