Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
unit_test::suite::fail (2 of 2 overloads)

Record a failure.

Synopsis
template<
    class = void>
void
fail(
    std::string const& reason = "");
Description Parameters

Name

Description

reason

Optional text added to the output on a failure.

file

The source code file where the test failed.

line

The source code line number where the test failed.


PrevUpHomeNext