azer / prova

Test runner based on Tape and Browserify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

--tap option does not work when used in combination with --browser

aghassemi opened this issue · comments

--tap works fine in node mode but has no effect when I run with --browser, I just get the regular "x passed assertions" instead of the tap output on stdout.

It would be awesome to get the raw tap output without any extras like the browser version, etc.. on stdout so test results can be interpreted by CI systems.

Good idea, could you give an example of the output you expect ?

I think the exact output that is generated by --tap option when used without --browser would be perfect. so when running

prova test.js --tap --browser --quit

I would like to see

TAP version 13
# test 1
ok 1 (unnamed assert)
# test 2
ok 2 (unnamed assert)

1..2
# tests 2
# pass  2

# ok

instead of

 prova:browser Visit http://0.0.0.0:7559 with a browser to start running the tests. +0ms

  2 passed assertions.
  Browser: Chrome v37 Engine: WebKit v537.36 OS: Linux vx86_64