24 lines
578 B
Markdown
24 lines
578 B
Markdown
Test-runner for SRFI-64 that outputs Common Test Report Format (CTRF)
|
|
|
|
[Common Test Report Format](https://ctrf.io/)
|
|
|
|
|
|
Usage:
|
|
|
|
|
|
(import (scheme base)
|
|
(srfi 64)
|
|
(retropikzel ctrf))
|
|
|
|
(test-runner-current (ctrf-runner))
|
|
|
|
|
|
Then run tests as usual. The full CTRF output will be outputted into JSON file
|
|
named as ${SCHEME}-${FIRST\_TEST\_GROUP\_NAME}.ctrf.json. And short summary
|
|
will be outputted into (current-output-port).
|
|
|
|
Any failing tests and summary will be printed into stdout as list of JSON
|
|
objects.
|
|
|
|
Exit code is the amount of failed tests.
|