boost::unit_test::framework::current_test_case — This function provides an access to the test case currently being executed.
// In header: <boost/test/framework.hpp> test_case const & current_test_case();
This function is only valid during test execution phase.
See Also:
current_test_case_id