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 a snapshot of the develop branch, built from commit 98b17a472c.
PrevUpHomeNext

Function register_test_unit

boost::unit_test::framework::register_test_unit — This function add new test suite into the global collection of test units the framework aware of.

Synopsis

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


void register_test_unit(test_suite * ts);

Description

This function also assignes unique test unit id for every test suite. Later on one can use this id to locate the test case if necessary. This is the way for the framework to maintain weak references between test units.

Parameters:

ts

test suite to register


PrevUpHomeNext