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 current_test_case

boost::unit_test::framework::current_test_case — This function provides an access to the test case currently being executed.

Synopsis

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


test_case const & current_test_case();

Description

This function is only valid during test execution phase.

See Also:

current_test_case_id


PrevUpHomeNext