Description
This is a feature Boost.Test has (BOOST_<level>_MESSAGE). It would be very nice if we can define custom error message if any specific test fails. A use-case is as follows:
int minutes = 100;
REQUIRE_MESSAGE( 0 <= minutes <= 59 , "Minutes " << minutes << " outside allowed range.");
Output:
Example.cpp:X: FAILED:
Minutes 100 outside allowed range.