|
|
|
Trying to abort tests, if a failure or error occurs by setting failureproperty="test.failure" in JUnit task and adding unless in ant target:
<target name="test-base" unless="test.failure"> Workaround: All 9 tests spitted into 9 targets which all checks the test.failure property. The problem is that property changes in the antcall targets are not retured to the caller target.
| |||||||||||||||||||||||||||||||||||||||
But in each sub targets the JUnit outputs are overwriten, hence test and failure results are removed from the report!
716 tests are reported by JUnit.