@tap-format/parser
Version:
A highly verbose parser for the Test Anything Protocol that exposes an observable and streaming interface
32 lines (30 loc) • 480 B
Plain Text
TAP version 13
# test 1
ok 1 first assertion has yaml,
---
a: b
...
ok 2 second assertion
this is a console log
not ok 3 third assertion has error
---
operator: equal
expected: 'you'
actual: 'me'
at: Test.<anonymous> (/asdf/index.js:8:5)
...
ok 4 fourth assertion
ok 5 fifth assertion
# test 2
ok 6 sixth assertion
# test 3
not ok 7 plan != count
---
operator: fail mes
expected: 4
actual: 3
...
1..7
# tests 7
# pass 5
# fail 2