azer / prova

Test runner based on Tape and Browserify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

it should output in tap format when run via node

jfirebaugh opened this issue · comments

One of the advantages of TAP is that it produces output in a simple, standard format that can be piped into other tools, e.g. faucet. It would be nice if prova-the-library preserved this property, and produced TAP-compliant output when run via node test.js. It's fine if prova-the-command, e.g. prova test.js produces a custom output format.

would it work if it was optional? something like "node test --tap" ?

Yeah, that would work too.

just released v1.14.0 comes with a parameter named "--tap" (shortcut is "-p") that you can use for getting original tap output, e.g

$ node test --tap # or node test -p

Thanks, that was fast!