Closed talmoshe24 closed 3 years ago
@talmoshe24 The only supported way of retrying is that is provided by JUnit Foundation. Otherwise our agent have no clue whether it's a retry or not. If you implement a custom rule you also have to implement handling logic by yourself.
I'm using RP 5.3.3 and agent-java-junit v4 5.0-RC I have a case where I'm using TestRule and the test is reported as a fail, although it passes
Retry rule class:
In my test class, I have the implementation:
When there is an exception in one of the tests once, the RP reports that the test is failed although it passed in the second time