tap-parser(1)

tap-parser1

Test-anything-protocol parser for node.js

Overview

Usage:

tap-parser <options>

Parses TAP data from stdin, and outputs the parsed result in the format specified by the options. Default output uses node's `util.inspect()` method.

Options

-j [<indent>] | --json[=indent]

Output event data as JSON with the specified indentation (default=2)

-t | --tap

Output data as reconstituted TAP based on parsed results

-l | --lines

Output each parsed line as it is recognized by the parser

-b | --bail

Emit a `Bail out!` at the first failed test point encountered

-B | --no-bail

Do not bail out at the first failed test point encountered (Default)

-f | --flat

Flatten all assertions to the top level parser

-F | --no-flat

Do not flatten all assertions to the top level parser (Default)

-w | --ignore-all-whitespace

Skip over blank lines outside of YAML blocks

-o | --omit-version

Ignore the `TAP version 13` or `TAP version 14` line at the start of tests

--strict

Run the parser in strict mode

--no-strict

Do not run the parser in strict mode

-s | --silent

Do not print output, just exit success/failure based on TAP stream

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

From node-tap-parser 13.0.1+~cs4.1.3-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.