Skip to main content

Module assertions

Module assertions 

Source
Expand description

Test assertion helpers for durable Lambda testing.

Provide convenience assertions for inspecting checkpoint calls recorded by MockBackend.

Functionsยง

assert_checkpoint_count
Assert the exact number of checkpoint calls made.
assert_no_checkpoints
Assert that no checkpoint calls were made (pure replay test).
assert_operation_count
Assert the total count of recorded operations.
assert_operation_names
Assert the recorded operation names match (ignoring types).
assert_operations
Assert the recorded operation sequence matches the expected "type:name" strings.