May 2017
Intermediate to advanced
590 pages
17h 18m
English
To control the output of a test program, you can:
chapter11gt_05.exe --gtest_output=xml:report.xml <?xml version="1.0" encoding="UTF-8"?> <testsuites tests="1" failures="1" disabled="0" errors="0" timestamp="2017-02-25T00:02:27" time="0.006" name="AllTests"> <testsuite name="Sample" tests="1" failures="1" disabled="0" errors="0" time="0.003"> <testcase name="Test" status="run" time="0.002" classname="Sample"> <failure message="f:/chapter11gt_05/main.cpp:6 Expected: a Which is: 42 To be equal to: 0" type=""> <![CDATA[f:/chapter11gt_05/main.cpp:6 ...Read now
Unlock full access