Support nested TAP subtests

Issue #1381 new
Daniel Kraus
created an issue

Although not mentioned in the current TAP specification (see GitHub issue), subtests are heavily used by libraries such as tap4j or node-tap.

Consider the follow TAP with a nested subtest:

ok 1 test
    ok 1 subtest
        ok 1 foo
        ok 2 bar
        ok 3 baz

InstantTAP marks this as a valid TAP stream, but it doesn't get properly highlighted with Pygments v2.2.0 (see Pygments demo).

It would be cool to see subtests being supported by the Pygments TAP lexer.

Comments (1)

  1. Log in to comment