Skip to content

Use supertap to generate TAP output #1610

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

Merged
merged 1 commit into from
Dec 17, 2017
Merged

Use supertap to generate TAP output #1610

merged 1 commit into from
Dec 17, 2017

Conversation

vadimdemedes
Copy link
Contributor

Uses https://github.com/vadimdemedes/supertap to generate TAP output, without changing a single line of tests and a lot of the code was extracted from AVA itself, so it's pretty much backwards compatible.

Copy link
Member

@novemberborn novemberborn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uses vadimdemedes/supertap to generate TAP output, without changing a single line of tests and a lot of the code was extracted from AVA itself

Yay!

so it's pretty much backwards compatible.

Heh, "pretty much" implies there might be some behavioral changes?

todo: test.todo,
skip: test.skip,
comment: test.logs,
error: test.error ? dumpError(test.error, true) : null
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dumpError doesn't return an Error instance, which supertaps API says is expected. Perhaps the API documentation should be loosened, or clearer on what properties are expected on non-Error objects?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree, will clarify that.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@vadimdemedes
Copy link
Contributor Author

Heh, "pretty much" implies there might be some behavioral changes?

I don't think so, since I haven't modified AVA's tests and they pass 😉

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

Successfully merging this pull request may close these issues.

2 participants