AssertPy is a simple assertion library for Python unit testing with a fluent API, inspired by AssertJ for Java. It allows for highly readable and chainable assertions. The current version is 1.1, and it has an active release cadence with frequent updates.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
The primary entry point for all fluent assertions.
Used as a context manager to collect multiple assertion failures without halting execution immediately.
Renamed from `assert_soft` in v0.10; logs warnings instead of raising an AssertionError.
This quickstart demonstrates basic chained assertions using `assert_that` and shows how to use `soft_assertions` as a context manager to collect multiple failures before raising a single `AssertionError` at the end of the block.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.
No traffic data recorded yet.