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-XML #16

Closed
nzakas opened this issue Jul 6, 2013 · 3 comments
Closed

Formatter: JUnit-XML #16

nzakas opened this issue Jul 6, 2013 · 3 comments
Labels
archived due to age This issue has been archived; please open a new issue for any further discussion enhancement This change enhances an existing feature of ESLint

Comments

@nzakas
Copy link
Member

nzakas commented Jul 6, 2013

We should have a formatter to output results in JUnit XML format. See CSS Lint version:
https://github.com/stubbornella/csslint/blob/master/src/formatters/junit-xml.js

@xjamundx
Copy link
Contributor

I'll try to port this one from JSHint!
https://github.com/xjamundx/jshint-junit-reporter

@xjamundx xjamundx mentioned this issue Jul 14, 2013
xjamundx added a commit to xjamundx/eslint that referenced this issue Jul 21, 2013
@nzakas nzakas closed this as completed in 3d00661 Jul 25, 2013
@hsoehalim
Copy link

I notice, the junit formater doesn't print "pass" status, only dealing with error and warning.

@akupiec
Copy link

akupiec commented Mar 7, 2017

It would be nice if report could always have at least one test case, because without it bamboo parser see such report as empty and fails it.

Something like this would be sufficient:

<testsuite package="org.eslint" time="111" tests="222" errors="0" name="All files">
    <testcase time="111" name="All rules"/>
</testsuite>

@eslint-deprecated eslint-deprecated bot locked and limited conversation to collaborators Feb 7, 2018
@eslint-deprecated eslint-deprecated bot added the archived due to age This issue has been archived; please open a new issue for any further discussion label Feb 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
archived due to age This issue has been archived; please open a new issue for any further discussion enhancement This change enhances an existing feature of ESLint
Projects
None yet
Development

No branches or pull requests

4 participants