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 JUnit output format #7960

Open
GiladShoham opened this issue Dec 17, 2024 · 2 comments
Open

support JUnit output format #7960

GiladShoham opened this issue Dec 17, 2024 · 2 comments
Labels
C-enhancement Category - New feature or request

Comments

@GiladShoham
Copy link

Many CI tools can parse JUnit output format and display the results in a more user-friendly UI. Adding support for JUnit output would greatly improve the ability to understand and analyze issues when running oxlint in CI environments.

@GiladShoham GiladShoham added the C-enhancement Category - New feature or request label Dec 17, 2024
@nrayburn-tech
Copy link
Contributor

nrayburn-tech commented Dec 18, 2024

https://github.com/testmoapp/junitxml contains some info on the file format. Not sure if there's a more official spec somewhere, but I couldn't find one.

Something for the Oxc team to consider might be a way for users to provide their own output format. Would probably require exposing the raw lint results to a JavaScript file, so that the user could build their output format in JavaScript.

@GiladShoham
Copy link
Author

@nrayburn-tech
This is connected to #4868
if we will have better json output we can build the junit format from it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category - New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants