|  | Home | Libraries | People | FAQ | More | 
BOOST_FAIL(message);
          BOOST_FAIL(message)BOOST_TEST_REQUIRE(false, message)
The tool's only parameter is an error message to log.
| Code | 
|---|
| #define BOOST_TEST_MODULE example #include <boost/test/included/unit_test.hpp> BOOST_AUTO_TEST_CASE( test ) { BOOST_FAIL( "Test is not ready yet" ); } | 
| Output | 
|---|
| > example Running 1 test case... test.cpp(8): fatal error in "test": Test is not ready yet *** 1 failures is detected in test suite "example" | 
See also: