Package | Description |
---|---|
org.assertj.core.api |
Modifier and Type | Class and Description |
---|---|
class |
AutoCloseableSoftAssertions
A version of
SoftAssertions that uses try-with-resources statement to automatically call
SoftAssertions.assertAll() so that you don't forget to. |
class |
JUnitJupiterSoftAssertions
Deprecated.
use
SoftAssertionsExtension instead.
Same as SoftAssertions , but with the following differences: First, it's a JUnit Jupiter extension, which can be used without having to call assertAll() , example:
Second, the failures are recognized by IDE's (like IntelliJ IDEA) which open a comparison window. |
class |
JUnitSoftAssertions
Same as
SoftAssertions , but with the following differences: First, it's a junit rule, which can be used without having to call assertAll() ,
example: |
class |
SoftAssertions
Suppose we have a test case and in it we'd like to make numerous assertions.
|