Next: srfi.66
- Octet vectors, Previous: srfi.60
- Integers as bits, Up: Library modules - SRFIs [Contents][Index]
srfi.64
- A Scheme API for test suitesThis module defines API to write a portable test suite. In Gauche,
it is adapted to work with gauche.test
native test framework
(see gauche.test
- Unit Testing).
If SRFI-64 tests are run with the default runner during gauche.test
is active, the tests becomes a part of the whole gauche.test
suite.
The recommended way is to write a test suite in pure srfi-64, then include it from the gauche test script:
(use gauche.test) (test-start "the tests") ;; portable test (include "test-suite-in-srfi-64") ;; gauche-specific test, if needed ... (test-end)
If test-suite-in-srfi-64.scm is run by itself, it uses SRFI-64’s
default reporting system. If it is run within gauche.test
script,
the results are reported via gauche.test
, consolidated with other
Gauche test results.
• SRFI-64 test API: | ||
• SRFI-64 test runner: |
Next: Test runner, Previous: srfi.64
- A Scheme API for test suites, Up: srfi.64
- A Scheme API for test suites [Contents][Index]
Previous: Test API, Up: srfi.64
- A Scheme API for test suites [Contents][Index]
Next: srfi.66
- Octet vectors, Previous: srfi.60
- Integers as bits, Up: Library modules - SRFIs [Contents][Index]