May 2017
Intermediate to advanced
590 pages
17h 18m
English
When you run the test module from a console/terminal, you see both the test log and test report, with the test report following the test log. For the test module shown earlier, the default output is as follows. The first three lines represent the test log and the last line the test report:
Running 2 test cases...f:/chapter11bt_05/main.cpp(14): error: in "test_suite/test_case": check a == 0 has failed [42 != 0]*** 1 failure is detected in the test module "Controlling output"
The content of both the test log and test report can be made available in several formats. The default is a human-readable format (or HRF); however, the framework also supports XML, and for the test log, the JUNIT format. This is a format intended for ...
Read now
Unlock full access