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

add support for --format junit #843

Merged
merged 4 commits into from
Jul 21, 2020
Merged

add support for --format junit #843

merged 4 commits into from
Jul 21, 2020

Conversation

bendrucker
Copy link
Member

@bendrucker bendrucker commented Jul 17, 2020

This PR adds support for JUnit output formatting, as supported by CircleCI, Jenkins, and others:

https://circleci.com/docs/2.0/collect-test-data/

I used ESLint's example output as a reference:

https://eslint.org/docs/user-guide/formatters/#junit

The JUnit structs come from github.com/jstemmer/go-junit-report, which handles all the XML details via struct tags.

Closes #786

@bendrucker bendrucker marked this pull request as ready for review July 20, 2020 21:23
@bendrucker bendrucker requested a review from wata727 July 20, 2020 21:27
Copy link
Member

@wata727 wata727 left a comment

Choose a reason for hiding this comment

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

👍

@bendrucker bendrucker merged commit 66b4b56 into master Jul 21, 2020
@bendrucker bendrucker deleted the format-junit branch July 21, 2020 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: junit output format
2 participants