Skip to content
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

SoftAssertions - use it or not ? #113

Open
rsvoboda opened this issue Dec 18, 2019 · 0 comments
Open

SoftAssertions - use it or not ? #113

rsvoboda opened this issue Dec 18, 2019 · 0 comments

Comments

@rsvoboda
Copy link
Member

In some tests there are a lot of Assert.assertXYZ checks in one test.
When one check fails all the remaining checks are not performed.

SoftAssertions from https://assertj.github.io/doc/ is the way to perform all checks
Examples: https://www.programcreek.com/java-api-examples/index.php?api=org.assertj.core.api.SoftAssertions

The downside of assertj is size - assertj-core has 4.5 MB.

tbh, not sure if we need/want this dependency. Lets have discussion about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants