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

Formatter: JUnit #478

Closed
ryandcoates opened this issue Aug 23, 2019 · 1 comment · Fixed by #519
Closed

Formatter: JUnit #478

ryandcoates opened this issue Aug 23, 2019 · 1 comment · Fixed by #519
Assignees
Labels
enhancement New feature or request p/medium

Comments

@ryandcoates
Copy link

User story.
As a cli user, I can do output in a format supported by Azure Pipelines, so that I can display the test report during each pipeline run.

Describe the solution you'd like
Azure piplines 'Publish Test results' task supports a number of outputs, assume JUnit or NUnit/XUnit would be the best option
More info here

@P0lip P0lip added the enhancement New feature or request label Aug 23, 2019
@philsturgeon philsturgeon changed the title Additional formatters Formatter: JUnit Sep 2, 2019
@philsturgeon
Copy link
Contributor

philsturgeon commented Sep 2, 2019

JUnit would definitely be useful, for Azure, CircleCI, and most other popular tools. It’s the one I’ve needed the most. https://circleci.com/blog/how-to-output-junit-tests-through-circleci-2-0-for-expanded-insights/

I assume with that done we can add other similar formats like xUnit in the future.

For junit implementation, I’d suggest using ESLint as inspiration. https://eslint.org/docs/user-guide/formatters/#junit

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

Successfully merging a pull request may close this issue.

3 participants