578 B
578 B
Test-runner for SRFI-64 that outputs Common Test Report Format (CTRF)
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.