Simple testing framework adapted from the Chicken test
module.
expr
and check that it is equal?
to expect
. name
is used in reporting, and
defaults to a printed summary of expr
.
Equivalent to test, using equal
for comparison instead of
equal?
.
Like test
but evaluates expr
and checks that it's true.
Like test
but evaluates expr
and checks that it's false.
Like test
but expect
and expr
can both
return multiple values.
Like test
but evaluates expr
and checks that it
raises an error.
Exits with a failure status if any tests have failed,
and a successful status otherwise.Wraps body
as a single test group, which can be filtered
and summarized separately.Begin testing a new group until the closing (test-end)
.Ends testing group introduced with (test-begin)
, and
summarizes the results.