| Package | Description |
|---|---|
| org.assertj.core.api |
| Modifier and Type | Interface and Description |
|---|---|
interface |
StandardSoftAssertionsProvider |
| Modifier and Type | Class and Description |
|---|---|
class |
AutoCloseableSoftAssertions
A version of
SoftAssertions that uses try-with-resources statement to automatically call
AbstractSoftAssertions.assertAll() so that you don't forget to. |
class |
Java6JUnitSoftAssertions
Deprecated.
For Android compatible assertions use the latest assertj 2.x version which is based on Java 7 only.
JUnitSoftAssertions rule compatible with Android. Duplicated from |
class |
Java6SoftAssertions
Deprecated.
For Android compatible assertions use the latest assertj 2.x version which is based on Java 7 only.
Soft assertions compatible with Android. Duplicated from |
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.
|
Copyright © 2025. All rights reserved.