We use Google Test (gtest) for tests in our C++ based solution.
We build it in VSTS to run on Windows.
When we run test .exe it produces test_detail.xml file with results of the test run:
<?xml version="1.0" encoding="UTF-8"?>
<testsuites tests="1152" failures="0" disabled="0" errors="0" time="8.57" name="AllTests">
<testsuite name="testTrim" tests="10" failures="0" disabled="0" errors="0" time="0.041">
<testcase name="trimEmptyString" status="run" time="0" classname="testTrim" />
...
How to import this file to VSTS?
It would be ideal if gtests are recognized and displayed on build Summary page, even if it's just passfail, no details of the errors.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…