assertj / assertj/doc

Improve discoverability of `satisfies`

Open
#171 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
CSS
Stars
26
Forks
32
Avg merge
2d 9h
Merged PRs (30d)
3

Description

As of today, the documentation thoroughly explains how to use [Soft Assertions](https://assertj.github.io/doc/#assertj-core-soft-assertions), but there is no mention of [`satisfies`](https://www.javadoc.io/doc/org.assertj/assertj-core/latest/org/assertj/core/api/AbstractAssert.html#satisfies(java.util.function.Consumer...)), which can be a less intrusive option for simpler use cases.

We should generalize the section on Soft Assertions, describing the challenge of performing many assertions without stopping the test and demonstrating how `satisfies` and Soft Assertions can help solve it.

Related threads on BlueSky:
* https://bsky.app/profile/jqno.nl/post/3ldpvagqqes24
* https://bsky.app/profile/oldjavaguy.bsky.social/post/3lwhthdggtk2v

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.