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 a proper junit reporter #3262

Open
bitliner opened this issue Nov 16, 2023 · 0 comments
Open

Support a proper junit reporter #3262

bitliner opened this issue Nov 16, 2023 · 0 comments
Labels

Comments

@bitliner
Copy link

Feature

Add a JUnit reporter and allow saving the output to a file.

Motivation

JUnit reporting format is a standard used by many CI/CD tools, like gitlab, CircleCI, etc.

If you do CI/CD, JUnit reporting is great to improve user experience while maintaining software packages and related tests.

In addition, NodeJS test runner supports very well out-of-the-box the junit reporter and concurrency at the same time. Since ava lacks proper support for junit reporting, it risks to become outdated and lose effectiveness.

The problem

Ava does not support JUnit reporter.

Even though it supports tap reporters, and you can use tap parser to transform the tap output into a junit reporter, however ava does not provide full information to the tap reporter and therefore does not allow to build a proper junit report.

As example, time duration is missing.

There is an issue open to add duration, however doing it only on --serial would be not enough to build a proper junit report.

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

No branches or pull requests

1 participant