You are looking at historical revision 39572 of this page. It may differ significantly from its current revision.

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

[syntax] (testeez docstring . test-expressions)

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

[syntax] (test/equal desc xpr expected)

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

[syntax] (test/eq desc xpr expected)

Tests xpr and compares it with eq? to expected.

test/eqv

[syntax] (test/eqv desc xpr expected)

Tests xpr and compares it with eqv? to expected.

test-define

[syntax] (test-define desc name val)

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

test-eval

[syntax] (test-eval desc xpr)

Author

Neil van Dyke

Licence

LGPL-3