You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Chalashkanov, Mihail" <mi...@sap.com> on 2014/10/07 17:19:39 UTC

Surefire plugin report all successfull sub tests.

Hi Colleagues,

Is there a possibility the surefire-plugin to count all successful subtest(verify statements) for Junit tests.

Here is the describing of the problem:
> Imagine you have two tests, with each having 5 verify statements
> If both tests succeed, the test result will show two tests which passed successfully
> If only one test succeeds and the other test fails completely, the result (e.g. in Jenkins) will show one test succeeded and 5 tests failed, which leads to a success rate of ~17%, while in fact the success rate is 50% (5 verify statements of the succeeded test are only reported as one success).

Thanks and regards,
Mihail Chalashkanov