chickadee » testeez

Outdated egg!

This is an egg for CHICKEN 4, the unsupported old release. You're almost certainly looking for the CHICKEN 5 version of this egg, if it exists.

If it does not exist, there may be equivalent functionality provided by another egg; have a look at the egg index. Otherwise, please consider porting this egg to the current version of CHICKEN.

testeez

See http://www.neilvandyke.org/testeez/ for the full documentation.

Programming interface

testeez

(testeez docstring . test-expressions)syntax

where each test-expression is a list consisting of one of the following testing operators, a docstring and one or two other forms.

test/equal

(test/equal desc xpr expected)syntax

Tests xpr and compares it with equal? to expected.

A shorthand for (test-equal "" xpr expected) is also available, simply write (xpr expected)

test/eq

(test/eq desc xpr expected)syntax

Tests xpr and compares it with eq? to expected.

test/eqv

(test/eqv desc xpr expected)syntax

Tests xpr and compares it with eqv? to expected.

test-define

(test-define desc name val)syntax

Binds name to val. The binding is visible only to the remainder of a testeez expression.

test-eval

(test-eval desc xpr)syntax

Author

Neil van Dyke

Licence

LGPL-3

Contents »