2c6dcdb247
- clarify the reference section - emphasises the BOOST_<level>_THROW behaviour wrt. unexpected exceptions - full example for API testing - renaming cpp files - adding examples
16 lines
584 B
Plaintext
16 lines
584 B
Plaintext
//[example_output
|
|
> example --log_level=all
|
|
Running 2 test cases...
|
|
Entering test module "example"
|
|
test.cpp:20: Entering test case "test"
|
|
unknown location:0: fatal error: in "test": std::runtime_error: negative value not allowed
|
|
test.cpp:20: last checkpoint: "test" entry.
|
|
test.cpp:20: Leaving test case "test"; testing time: 247us
|
|
test.cpp:26: Entering test case "test2"
|
|
test.cpp:28: info: check true has passed
|
|
test.cpp:26: Leaving test case "test2"; testing time: 103us
|
|
Leaving test module "example"; testing time: 492us
|
|
|
|
*** 1 failure is detected in the test module "example"
|
|
//]
|