tap-lochnest (TAP Loch Nest)
A TAP helper for output nested test name beside parent test name.
Installation
npm
npm install tap-lochnest --save-dev
Usage
var lochNest = ;
var tape = ;var test = ; var count = 0; ; ;
TAP Output
TAP version 13# a set of some tests # a set of some tests | A ok 1 should be equal# a set of some tests | B # a set of some tests | B | b1 # a set of some tests | B | b1 | bb1 ok 2 should be equal# a set of some tests | B | b2 ok 3 should be equal# a set of some tests | B | b3 ok 4 should be equal# a set of some tests | C ok 5 should be equal# a test ok 6 should be equal 1..6# tests 6 # pass 6 # ok
delimiter
option
Default nested test name separator is a space
, but can be customize.
Ex:
var test = ;
TAP Frameworks
Work with tape on node
and browser
Contributing
- Documentation improvement
- Feel free to send any PR