yui / grover

YUITest wrapper for PhantomJS

Home Page:http://yui.github.com/grover/lib/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The number of tests is wrong in TAP format

stanleyhlng opened this issue · comments

I setup 5 tests. However, it shows 1 .. 10 instead of 1 .. 5 in the TAP report.

➜  grover-samples git:(master) npm run test

> grover-samples@0.0.1 test /Users/stanleyn/Projects/stanleyhlng/git/grover-samples
> grover test/lib/*.test.html --outfile artifacts/test/results.tap --tap

Starting Grover on 1 files with PhantomJS@1.9.7
  Running 15 concurrent tests at a time.
✔ [User Test Suite]: Passed: 5 Failed: 0 Total: 5 (ignored 0) (0.046 seconds)
Writing files in TAP format to: artifacts/test/results.tap
----------------------------------------------------------------
✔ [Total]: Passed: 5 Failed: 0 Total: 5 (ignored 0) (0.046 seconds)
  [Grover Execution Timer] 1.714 seconds


➜  grover-samples git:(master) cat artifacts/test/results.tap --tap
1..10
#Begin testcase User(0 failed of 5)
ok 1 - should return true
ok 2 - should instantiate Y.User object
ok 3 - should return "Stanley" in the first name
ok 4 - should return "Ng" in the last name
ok 5 - should return "stanleyn@yahoo-inc.com" in the email
#End testcase User

samples
https://github.com/stanleyhlng/grover-samples