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 during gauche.test
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 runner: | ||
• SRFI-64 test API: |
Next: Test API, Previous: srfi.64
- A Scheme API for test suites, Up: srfi.64
- A Scheme API for test suites [Contents][Index]
In SRFI-64, tests are run with an active test runner which collects test results and emits reports. It allows users to provide custom runners to handle tailored reports suitable to the specific tests.
[SRFI-64]{srfi.64}
[SRFI-64]{srfi.64}
[SRFI-64]{srfi.64}
[SRFI-64]{srfi.64}
[SRFI-64]{srfi.64}
[SRFI-64]{srfi.64}
[SRFI-64]{srfi.64}
[SRFI-64]{srfi.64}
[SRFI-64]{srfi.64}
A runner holds a single alist to keep the latest result properties.
Except the result-kind
property, which is set by every basic
test procedures, the usage of properties are up to the test runner
and/or test writer.
[SRFI-64]{srfi.64}
[SRFI-64]{srfi.64}
[SRFI-64]{srfi.64}
[SRFI-64]{srfi.64}
[SRFI-64]{srfi.64}
[SRFI-64]{srfi.64}
[SRFI-64]{srfi.64}
[SRFI-64]{srfi.64}
[SRFI-64]{srfi.64}
[SRFI-64]{srfi.64}
[SRFI-64]{srfi.64}
[SRFI-64]{srfi.64}
[SRFI-64]{srfi.64}
[SRFI-64]{srfi.64}
[SRFI-64]{srfi.64}
[SRFI-64]{srfi.64}
[SRFI-64]{srfi.64}
[SRFI-64]{srfi.64}
[SRFI-64]{srfi.64}
[SRFI-64]{srfi.64}
[SRFI-64]{srfi.64}
Previous: Test runner, Up: srfi.64
- A Scheme API for test suites [Contents][Index]
SRFI-64 tests can be grouped, and groups can be nested.
[SRFI-64]{srfi.64}
[SRFI-64]{srfi.64}
[SRFI-64]{srfi.64}
[SRFI-64]{srfi.64}
[SRFI-64]{srfi.64}
[SRFI-64]{srfi.64}
[SRFI-64]{srfi.64}
[SRFI-64]{srfi.64}
[SRFI-64]{srfi.64}
Next: srfi.66
- Octet vectors, Previous: srfi.60
- Integers as bits, Up: Library modules - SRFIs [Contents][Index]