SRFI-64 reference implementation
This is the reference implementation from
wrapped in a snowball.
The code is by Per Bothner, Alex Shinn, Álvaro Castro-Castilla,
and Mark H Weaver.
This snowball was made by Robert Fisher.
Note that the test suite is currently not passing (at least with
chibi-scheme). See the github repo below for more information.
(test-begin suite-name count)
(test-on-group-begin-simple runner suite-name count)
(test-on-bad-count-simple runner count expected-count)
(test-on-bad-end-name-simple runner begin-name end-name)
(test-group suite-name . body)
(test-group-with-cleanup suite-name form cleanup-form)
(test-group-with-cleanup suite-name cleanup-form)
(test-group-with-cleanup suite-name form1 form2 form3 . rest)
(test-result-ref runner pname)
(test-result-ref runner pname default)
(test-result-set! runner pname value)
(test-result-remove runner pname)
(test-with-runner runner form ...)
(test-apply first . rest)
(test-match-nth n count)
(test-match-all pred ...)
(test-match-any pred ...)
(test-expect-fail pred ...)