Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Surefire reports count test as having been skipped #9

Open
anonygoose opened this issue Aug 3, 2018 · 1 comment
Open

Surefire reports count test as having been skipped #9

anonygoose opened this issue Aug 3, 2018 · 1 comment

Comments

@anonygoose
Copy link

When the maven surefire plugin creates test result XML files, each test that was annotated with @RepeatedIfExceptionsTest is marked as having been skipped.

<testcase name="testMethodName" classname="className" time="0"> <skipped message="Turn off the remaining tests that must be performed"/> </testcase>

In reality the tests ran successfully, but the test was disabled when the minimum number of successes was reached.

Is there a way to retain the passed result, rather than having these marked as skipped?

@benhubert
Copy link

Be careful and ensure that your tests are really executed again. In my case I used @Execution(ExecutionMode.CONCURRENT), but as I found out in #27 , this library does not support concurrent execution. Therefore the tests have been executed only one time.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants