-
Notifications
You must be signed in to change notification settings - Fork 1.4k
TAP report prints test titles above not ok message #679
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
Comments
Hi @will-weiss thanks for your report. I believe this is a duplicate of #324. |
Actually I'm not sure now. @jamestalmage? |
Yeah - This is a legit issue. Related to #324, but not identical. I have |
@jamestalmage For now is it fine to submit a PR that changes
with
In |
Works for me. |
Description
The TAP report prints the failing assertion rather than the title of the test after the not ok message. If I have a test file
test.js
that reads:and I run
ava --tap
, the resulting TAP report looks like this:This is an issue because I am using a Jenkins TAP Plugin that reports the titles of the tests incorrectly, as it interprets
1 - 1 === 2
as the name of the test. I would expect the TAP report to look like this:If this is an issue with a dependency of ava and not with ava itself, please direct me to that project instead and I'll be happy to file an issue there.
Thanks in advance!
Environment
Node.js v5.9.0
darwin 14.5.0
The text was updated successfully, but these errors were encountered: