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

testeez

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

toc

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