Skip to content

Overview

This reference is generated from the source docstrings and is grouped by the mixin that implements each assertion, mirroring the code layout.

The assertions actually available on a value are the union of the mixins for its type. For example, on a string (assert_that("x")) you can call everything on String assertions, Containment assertions, Core & objects, and File & path assertions. For a task-oriented view organized by value type instead, see the Type assertions guide.

Signatures here are the runtime implementations. How the static return type narrows per value type (the typed overloads that drive editor autocomplete) is explained in Type safety.