...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::unit_test::framework::current_test_case_id — This function provides an access to an id of the test case currently being executed.
// In header: <boost/test/framework.hpp> test_unit_id current_test_case_id();