The Test Tools

### BOOST_FAIL( message )

BOOST_FAIL behave the same way as BOOST_REQUIRE_MESSAGE( false, message ). This tool is used for an unconditional error message logging and the current test case aborting.

The only tool's parameter is an error message to log.

#### Example: test.cpp

    int test_main( int, char* [] ) {
         BOOST_FAIL( "Test is not ready yet" );

        return 0;
    }

#### Output:

test.cpp(3) : fatal error in test_main: Test is not ready yet

#### See Also

BOOST_REQUIRE_MESSAGE