![]() |
Home | Libraries | People | FAQ | More |
The test log is produced during the test execution. All entries in the test log are assigned a particular log level. Only the entries with level that exceeds the active log level threshold actually appear in the test log output. Log levels are arranged by the 'importance' of the log entries. Here is the list of all levels in order of increasing 'importance':
Table 4. Messages
Notifications |
Meaning |
---|---|
Success |
This category includes messages that provide information on successfully passed assertions |
Test tree traversal |
This category includes messages that are produced by the Unit Test Framework core and indicate which test suites/cases are currently being executed or skipped |
General information |
This category includes general information messages produced
in most cases by a test module author using the macro |
Warning |
This category includes messages produced by failed |
Non fatal error |
This category includes messages produced by failed |
Uncaught C++ exceptions |
This category includes messages that are produced by the Unit Test Framework and provide detailed information on the C++ exceptions uncaught by the test case body. |
Non-fatal system error |
This category includes messages that are produced by the Unit Test Framework itself and provides information about caught non-fatal system error. For example it includes messages produced in the case of test case timeout or if floating point values calculation errors are caught. |
Fatal system error |
This category includes messages produced by failed require level assertions and by the Unit Test Framework itself in case of abnormal test case termination. |
![]() |
Note |
---|---|
The active log level works namely as threshold, not as selector. For the given active log level threshold, all test log entries with importance higher than threshold are enabled and all test log entries with importance below threshold are disabled. |
In addition to the levels described above the test log defines two special log levels. The current log level can be set to: