Boost.Test > Tests > errors_handling_test
Boost Test logo

The Unit Test Framework errors handling test

Rationale: intended to test that the Unit Test Framework properly handle different errors during different stages of testing. Testing output is matched the pattern file. The pattern file is located in test directory. To run test in a match mode (default) you does not need to provide any more arguments. To run test in save mode (this way you could generate pattern file) run test with the additional argument: --save_pattern=yes.
Type: run-time
Component needed: the Unit Test Framework
Need Test Pattern: yes
Expected Output:
*** No errors detected
Result Code: 0
Source: errors_handling_test.cpp