JUnit test result showing as ignored in TeamCity
Using the XML report processor build feature with the Ant Junit report type for the following results file shows the test case as ignored.
<?xml version="1.0" ?>
<testsuites errors="0" failures="0" name="ABLUnit" tests="1">
<testsuite name="/dsi/build/test/15.3/progress/source/p.test/myFirstAntTest.p" tests="1" time=".001">
<testcase name="t_calculateBackDateDays" status="success" time=".001"/>
</testsuite>
</testsuites>
This results file is from a custom test framework that conforms to JUnit result standards
Result: Tests passed: 0, ignored: 1
/dsi/build/test/15.3/progress/source/p.test/myFirstAntTest.p (1)
t_calculateBackDateDays
Ignored in IT:: Dev15.3 #48
Any idea why this test shows up as ignored? Thanks.
Please sign in to leave a comment.
Hi Shea,
What TeamCity version do you use? I've created XML report build feature with the Ant JUnit report in TC 9.0.1 and your example .xml. The result is: "Tests passed: 1".
I have this issue too with TeamCity 10.0.2 (build 42234) - a third party script generates the JUnit XML with success element as status="PASSED". I have a PowerShell script with changes this to status="success"
It would be ideal if we could configure Ant JUnit to so that a different status could be used.