Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

match test as failed ONLY when LAST test-attempt failed #8

Closed
artsok opened this issue Jul 10, 2018 · 5 comments
Closed

match test as failed ONLY when LAST test-attempt failed #8

artsok opened this issue Jul 10, 2018 · 5 comments

Comments

@artsok
Copy link
Owner

artsok commented Jul 10, 2018

is it possible to update your great code to match test as failed ONLY when LAST test-attempt failed? I mean to throw e.g. abort exception when test is failing during repetition... This way when tests tun at any CI/CD (Jenkins, Bamboo) test suite will mark as Green when repetition passed.

From Roman Hesteric

@RomanHesteric
Copy link

any updates here?

@anonygoose
Copy link

@artsok this is a fairly serious problem. Not a lot of point using this library if it will always show a test failure if a retry has taken place.

@spanierm42
Copy link
Contributor

I just submitted a pull request to fix the issue, see #15, to solve this issue. As stated above, I would also love to see the changes to be able to use the library in any CI/CD automation.
I am happy to get any feedback :)

@RomanHesteric
Copy link

perfect ;o)

@artsok
Copy link
Owner Author

artsok commented Apr 22, 2019

@RomanHesteric @spanierm Hi guys! Sorry for big delay.

Try this:

<dependency>
    <groupId>io.github.artsok</groupId>
    <artifactId>rerunner-jupiter</artifactId>
    <version>1.1.5</version>
</dependency>

@artsok artsok closed this as completed Apr 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants