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

fix: Dont count xunit failures as errors #27

Merged
merged 1 commit into from Nov 24, 2021

Conversation

mlucool
Copy link
Contributor

@mlucool mlucool commented Sep 12, 2016

Per http://reflex.gforge.inria.fr/xunit.html#xunitReport a failure and an error are different concepts and must be counted as such. Some parsers will fail if the number of expected tests do not add up.

Related change in repo from which this was copied: mochajs/mocha#2475

Per http://reflex.gforge.inria.fr/xunit.html#xunitReport a failure and an error are different concepts and must be counted as such. Some parsers will fail if the number of expected tests do not add up.

Related change in repo from which this was copied: mochajs/mocha#2475
@mlucool
Copy link
Contributor Author

mlucool commented Mar 10, 2017

@matthaias @jhnns Any thoughts here?

@jhnns
Copy link
Member

jhnns commented Mar 11, 2017

Thank you for giving notice 👍
We'll pull it in if mocha decides to pull it in.

Copy link
Member

@leomelzer leomelzer left a comment

Choose a reason for hiding this comment

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

As this is in mocha for a while now I'd propose to land it here, too: https://github.com/mochajs/mocha/blob/master/lib/reporters/xunit.js#L95-L97

Thanks for the PR!

@leomelzer leomelzer changed the title Dont count xunit failures as errors fix: Dont count xunit failures as errors Nov 24, 2021
@leomelzer leomelzer merged commit c8ed187 into peerigon:master Nov 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants