Boost.Test > Tests > test_exec_fail2
Boost Test logo

The Test Execution Monitor test 2

Rationale: intended to check an ability of the Test Execution Monitor to catch and report test errors using the Test Tools
Type: run-time-failure
Component needed: the Test Execution Monitor
Need Test Pattern: no
Expected Output: .../test_exec_fail2.cpp(25): error in "call_test_main": test v == 2 failed
.../test_exec_fail2.cpp(26): error in "call_test_main": sample BOOST_ERROR call
.../test_exec_fail2.cpp(27): fatal error in "call_test_main": test 2 == v failed

*** 3 failures detected in test case "call_test_main"
Result Code: 201
Source: test_exec_fail2.cpp