API Reference Flow Assertions v0.7.1
Modules
This is a library of assertions for Elixir's ExUnit. It emphasizes two things
Assertions used to test other assertions.
Functions that create handy predicates for use with FlowAssertions.MiscA.assert_good_enough/2
use
this module to get all the assertion-definition helpers at once.
Functions helpful in the construction of a new assertion.
Easier creation of assertions that can be chained together.
Code to support writing checkers like the ones in FlowAssertions.Checkers
.
Generate "runners" used in tabular tests of assertions and assertion-like functions.
Assertions that apply to Enums.
Assertions that apply to Maps and structures and sometimes to keyword lists.
Miscellaneous, including assertions for common idioms like {:ok, <content>}
These assertions assume a convention of initializing keys in a map to an "I have no value" value, with the expectation that they will later be given real values.
Assertions that apply only to structs, not maps.
Builders that create functions tailored to tabular tests.