Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TAP output not sending the correct number of asserts #401

Closed
JaKXz opened this issue Jan 2, 2016 · 1 comment
Closed

TAP output not sending the correct number of asserts #401

JaKXz opened this issue Jan 2, 2016 · 1 comment

Comments

@JaKXz
Copy link

JaKXz commented Jan 2, 2016

From zoubin/tap-summary#2

Reproducible with: https://gist.github.com/JaKXz/c676f6b5493b0ce90225

  • just download the zip and run npm install && npm test [assuming you have tee on your system, if not just drop the last pipe]

There should be 4 asserts and 2 tests in the output there, but the tests and asserts are printed as the same.

Ideally, the assertion output would include the message from the corresponding assertion.

I also tried t.plan(2) in the second test only (#25) and that didn't make any difference.

@jamestalmage
Copy link
Contributor

AVAs tap output doesn't currently show individual assertions, just outputs tests.

Closing as a duplicate of #324.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants