Session Report
Session reports generate a summary of the test session outcome. In case the session
was successful (no failed or skipped tests), the time information, the number of tests
and the final verdict is printed. In case of any problems, the list of exceptions is
printed and a more detailed statistics about the number of exceptions and tests encountered
is generated.
An exception report record has the following format:
[filename] [line-number] [exception-type] [phase-info]: [originator-name]
[message]
- In case the filename and the line number is not known, "-- -" is printed instead.
That could happen when the test exception was not generated by an assertion macro
or by an test exception macro.
- The exception type indicates the subtype. "f" means a test failure
was generated, "E" indicates a test error.
- The pase info tells you in what phase of the test execution the failure had happened.
- "S": during set-up
- "X": during test execution
- "T": during tear-down
- "P": during premature tear-down
- "?": the exact phase is unknown
If the phase indicator is prefixed with a "S" it means that this exception was thrown
by a test suite.
- Originator name identifies the test which generated the exception.
- Message is the description of the exception cause.
Xsample Error Report
Started: 2000.08.06 10:55:39
Stopped: 2000.08.06 10:55:48
Run-Time: 00:00:09.295
-- - f X: Expected failure in test:
Tag Failure
-- - f S: Expected failure in set-up:
Tag Failure
-- - f T: Expected failure in tear-down:
Tag Failure
-- - f X: Expected failure via binder1:
Tag Failure
-- - f X: Expected failure via binder2:
Tag Failure
-- - f X: Expected failure via binder3:
Tag Failure
-- - f X: Expected failure via binder4:
Tag Failure
-- - E X: Expected error in test:
Tag error
-- - E S: Expected error in set-up:
Tag error
-- - E T: Expected error in tear-down:
Tag error
-- - f X: Expected premature tear-down due to failure after failure:
Tag Failure
-- - f P: Expected premature tear-down due to failure after failure:
Tag Failure
-- - f X: Expected premature tear-down due to error after failure:
Tag Failure
-- - E P: Expected premature tear-down due to error after failure:
Tag error
-- - E X: Expected premature tear-down due to failure after error:
Tag error
-- - f P: Expected premature tear-down due to failure after error:
Tag Failure
-- - E X: Expected premature tear-down due to error after error:
Tag error
-- - E P: Expected premature tear-down due to error after error:
Tag error
-- - E X: Expected error via binder1:
Tag error
-- - E X: Expected error via binder2:
Tag error
-- - E X: Expected error via binder3:
Tag error
-- - E X: Expected error via binder4:
Tag error
-- - f X: Expected member function failure:
Tag Failure
DemoTest.cc 300 f X: Expected member function condition assertion failure:
Expected failed assertion
DemoTest.cc 307 f X: Expected member function equal assertion failure:
Expected failed equal assertion
DemoTest.cc 315 f X: Expected member function delta equal assertion failure:
Expected failed epsilon equal assertion
-- - f X: Expected failure via apply1:
Tag Failure
-- - f X: Expected failure via apply2:
Tag Failure
-- - f X: Expected failure via apply3:
Tag Failure
-- - f X: Expected failure via apply4:
Tag Failure
-- - E X: Expected member function error:
Tag error
-- - E X: Expected error via apply1:
Tag error
-- - E X: Expected error via apply2:
Tag error
-- - E X: Expected error via apply3:
Tag error
-- - E X: Expected error via apply4:
Tag error
-- - f X: Expected member function failure:
Tag Failure
DemoTest.cc 300 f X: Expected member function condition assertion failure:
Expected failed assertion
DemoTest.cc 307 f X: Expected member function equal assertion failure:
Expected failed equal assertion
DemoTest.cc 315 f X: Expected member function delta equal assertion failure:
Expected failed epsilon equal assertion
-- - f X: Expected failure via apply1:
Tag Failure
-- - f X: Expected failure via apply2:
Tag Failure
-- - f X: Expected failure via apply3:
Tag Failure
-- - f X: Expected failure via apply4:
Tag Failure
-- - E X: Expected member function error:
Tag error
-- - E X: Expected error via apply1:
Tag error
-- - E X: Expected error via apply2:
Tag error
-- - E X: Expected error via apply3:
Tag error
-- - E X: Expected error via apply4:
Tag error
-- - f X: Expected failure to trigger skipping tests:
Tag Failure
Exceptions:
Failures.: 28
Errors...: 21
Tests:
Passed...: 31
Failed...: 45
Executed.: 76
Skipped..: 4
Total....: 80
>>> FAILED <<<