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

Support tap reporter #437

Closed
4 tasks done
patak-dev opened this issue Jan 4, 2022 · 3 comments
Closed
4 tasks done

Support tap reporter #437

patak-dev opened this issue Jan 4, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@patak-dev
Copy link
Member

Clear and concise description of the problem

Implement tap reporter https://node-tap.org/tap-protocol/, to give users access to the tap ecosystem of converters. See for example https://www.npmjs.com/package/tap-junit (@Demivan)

Note From Koko in Vitest Dev

The one thing to keep in mind about TAP is that the official, spec-complient TAP output doesn't support indents on nested tests, which is bad UI imo. Some runner like zora or node-tap implement the TAP spec but with indents
TestAnything/Specification#2
So if TAP is going to be implemented in core, this is a feature most of users would want I guess

Suggested solution

Add a new tap option to the built in reporters

Alternative

No response

Additional context

No response

Validations

@patak-dev patak-dev added the enhancement New feature or request label Jan 4, 2022
@Demivan
Copy link
Member

Demivan commented Jan 4, 2022

I will work on this

@Demivan
Copy link
Member

Demivan commented Jan 5, 2022

#445 - it is done
But it is not compatible with https://www.npmjs.com/package/tap-junit as tap-junit does not support nested tests. But https://github.com/tapjs/tap-mocha-reporter works great.

@patak-dev
Copy link
Member Author

Closed by #445, awesome work @Demivan 🎉

chaii3 pushed a commit to chaii3/vitest that referenced this issue May 13, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Jun 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants