Junit version 1.2
Junit is always reporting 100% health report, regardless of number of failing testcases. I have a job with 1 of 1 test failing and still getting a 100% health report.
Hovering over the (sunny) weather icon for the job gives this popup (see attached screenshot):
"Test Result: 1 test failing out of a total of 1 test. 100%
This statement above indicates there is something wrong with the plugin. I'm not sure why it would report 100% health when all tests are failing.
This may be related to adding the health scale amplification factor, but I'm not sure. I have tried different values for the healthScaleFactor, all produce 100% health.
This is the XML I am testing with. Note this is a custom XML I'm creating to mimic a real Junit XML.
<?xml version="1.0" encoding="UTF-8"?>
<testsuites name="all_tests" errors="1" tests="1" failures="1" >
<testsuite name="all_tests" errors="1" tests="1" failures="1" >
<testcase classname="myblock" name="mytest " time="30.57" >
<failure> message="testfailed" </failure>
It is possible I'm doing something wrong, so I also posted here: