Skip to content
This repository was archived by the owner on Jan 10, 2020. It is now read-only.
This repository was archived by the owner on Jan 10, 2020. It is now read-only.

The number of tests is wrong in TAP format #24

Description

@stanleyhlng

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions