-
Notifications
You must be signed in to change notification settings - Fork 24
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
Usage with AssertJ possible? #56
Comments
Hi, I unfortunately don't have time to fixed it. If u could, make PR do it please. |
@hansjoergkeser It would be interesting to hear more about this. We are also using AssertJ with our tests, but they seem to play well with Would you mind supplying a minimal reproducible example that illustrates the problem you're seeing, if it's still active? |
@perlun thx for the hint. My description was not detailed enough: I meant AssertJ SoftAssertions. They collect all AssertionFailedError and throw one AssertJMultipleFailuresError in the end. I unsuccessfully tried to configure the rerunner accordingly `package hajo; import io.github.artsok.RepeatedIfExceptionsTest; import static org.assertj.core.api.Assertions.assertThat; @ExtendWith(SoftAssertionsExtension.class)
} |
If I have time ill try to investigate how these soft assertions exactly work. |
Hi Artem,
nice extension, it works good with JUnit 5 Assertions.
Unfortunately it does not seem to work with JUnit 5 and AssertJ. I configured the RepeatedIfExceptionsTest annotation with
exceptions = Error.class
or
AssertionFailedError
AssertionError
parameter, but each test is only run once.
The text was updated successfully, but these errors were encountered: