tap
— integrate with TAP
The tap
check runs a command and interprets its output as TAP (Test Anything Protocol) results.
TAP is a generic way to describe test output. It’s used to decouple test scripts from test runners: as long as your script outputs TAP, anything that consumes TAP can check that all the tests have passed.
Specsheet can both produce and consume TAP. See the TAP output format for information on producing it — the test type documented here is about consuming tap.
Examples
Running another test script:
[[tap]] shell = './my-test-script.sh'
List of parameters
parameter | structure | description |
---|---|---|
shell | string | Shell command to run and examine the output of. |