Skip to main content

Crate assertr

Crate assertr 

Source

Modules§

actual
assertions
cmp
condition
details
failure
mode
prelude
tracking
util

Macros§

assert_that
Ergonomic macro entrypoint that handles both owned values and references.

Structs§

AssertThat
AssertThat is the core structure used for assertions. It allows developers to perform assertions on actual values in a fluent and expressive manner, supporting detailed messages as well as different modes of operation, such as panic or capture modes.
Differences
EqContext
PanicValue
Type

Enums§

Eq

Traits§

AssertrPartialEq

Functions§

any
assert_thatDeprecated
The main entrypoint into an assertion context for borrowed values.
assert_that_ownedDeprecated
Entrypoint into an assertion context that takes ownership of the value.
assert_that_panic_by
assert_that_panic_by_async
assert_that_type
eq