Comments (5)
I wanted to do something like that and I came quite far with it but then I read this:
#28 (comment).
That would probably be a problem.
I got it to work when I set List<Boolean> historyExceptionAppear
in RepeatIfExceptionsExtension
to Collections.synchronizedList(new ArrayList<>())
. But that used to be in the code and was removed in this commit:
9416adc
To fix #11
from rerunner-jupiter.
You are rigtht I forgot to remove the method level annotations.
This is not going to work this way.
The RepeatedIfExceptionsTest is supposed to replace the Test annotation #28 (comment)
We would have to introduce a new annotation to achieve this (https://github.com/artsok/rerunner-jupiter/pull/44#issuecomment-507774583)
from rerunner-jupiter.
It is greate, that you want to do it! I have'nt free time to invistigate it :(
I inited this value at line 87.
Is it matter for you to init it as class value, as you want?
Can you show work example of this feature?
from rerunner-jupiter.
Maybe you can try this.
It seems to work but I'm not sure , maybe it only works on my machine
https://github.com/616slayer616/rerunner-jupiter/tree/annotaion_on_class
from rerunner-jupiter.
@616slayer616 There seems to be good work in this PR; perhaps though the new test you added should have the @RepeatedIfExceptionsTest removed from the methods to verify with certainty that only the class-level annotation is working.
from rerunner-jupiter.
Related Issues (20)
- Remove JUnit 4 compile dependency HOT 1
- @ParameterizedRepeatedIfExceptionsTest test status is failed for any repetion HOT 14
- Can I use this plugin with the theory tag? HOT 2
- Number of retries must be a constant and hardcoded HOT 2
- HTML report output is empty for all tests that have rerun
- Usage with AssertJ possible? HOT 4
- Concurrent Modification Exception when using with parallel test execution
- Enable the ability to use Rerunner-jupiter annotations in a composed annotation.
- stop retry when same exceptions occurred
- README should mention that ExecutionMode.CONCURRENT is not supported
- messageRegex and traceRegex?
- Create release for latest code base
- MinSuccess is not respected if there was a previous fail
- NullPointerException if RepeatedTest is cancelled
- java.lang.NullPointerException
- Unable to instantiate driver for failed test Serenity and Junit 5
- PreconditionViolationException
- Maven tests that are having @RepeatedIfExceptionsTest which are under src/main/java are not getting executed HOT 1
- duplicate testing in serenity report
- Test class fails if it not found any test case to run in case of @EnabledIfSystemProperty
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rerunner-jupiter.