-
Notifications
You must be signed in to change notification settings - Fork 71
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
Move Rerunner-Jupiter/improve RetryingTest? #355
Comments
It is really similar to |
@Michael1993 would you mind summarizing the pros and cons compared to |
I'll compare the two properly this evening and get back to you. |
Comparison (I'll edit this as I explore the feature): If you look back the history of this comment you'll probably realize sooner than me that I wanted 1.) This always works, even though I only wanted the test to try again if it found a FileNotFoundException
In rerunner-jupiter this test would look like:
This fails! Hooray? 2.)
and it "kind of" works... 3.) 4.) 5.) 6.) Related to 5. - rerunner-jupiter lets you define minSuccess meaning it will try to repeat your test until it succeeds at least that many times. If it can't (e.g.: you repeat 5 times, 3 times failing, minSuccess set to 3) the test will fail. Just like previously, this only means the rest of the tests are skipped (instead of not running at all). |
I think we can improve our extension, but I don't see that we move the
At the end: Before doing any implementation we should reach out for the maintainer to ask if it's okay for him (didn't check what Apache v2 licences means for usage). |
Sidenote for improving |
As @Michael1993 and me like to improve this extension I'll updated the labels |
Good points by @Michael1993 and I 100% agree with @Bukama. Let's do it! I think it would be a good idea to create a new issue for each of the following changes:
The last three could be good first issues, but I propose to close this issue as soon as the other four were created. |
New issues created, closing this. |
@Michael1993 More inspiration? https://github.com/jaksa76/unreliable (Don't have time to check right now, so I just dump the link here.) We can discuss that here and possibly spawn more issues based on that. |
Here is a really nice extension of JUnit: rerunner-jupiter.
Has not been updated in ~9 months. If the author agrees I think we should take on this extension.
I think the extension itself fits in nicely with our other extensions but I'm not sure what the proper etiquette is when merging open-source projects. Is that even a thing? Is it rude to even consider it? Someone help me out here. 😭
@nipafx , @Bukama , @aepfli Please give feedback.
Edit: Looking at the commit history it seems the author works on the extension in bursts. For example there is a bit of a gap between 2019-07-02 and 2020-01-10.
The text was updated successfully, but these errors were encountered: