Tests.TAP

Module tests.tap

import tests.tap

Test output anything can read.

reporter turns a io.Writer into the event handler tests.runner.exec expects, printing TAP version 14 as the run proceeds.

Because it takes a writer rather than reaching for standard output, the same reporter writes to a file, to a buffer, or to the terminal — and a test of the reporter itself can collect what it produced.

Dependencies


Contents


Functions

reporter

`tests/tap/tap-reporter.zirr:7`
fn reporter(writer: @io.Writer) -> fn(TestEvent)