Module assertion_helpers

Source
Expand description

Collection of assertions and assertion-related helpers.

Structs§

SearchDetails 🔒

Functions§

assert_contains
Assert that haystack contains needle.
assert_contains_regex
Assert that haystack contains the regex needle.
assert_count_is
Assert that haystack contains regex needle an expected_count number of times.
assert_dirs_are_equal
Assert that all files in dir1 exist and have the same content in dir2
assert_equals
Assert that actual is equal to expected.
assert_not_contains
Assert that haystack does not contain needle.
assert_not_contains_regex
Assert that haystack does not contain the regex needle.