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 configurable name for XUnit reporter #2628

Closed
ngeor opened this issue Dec 5, 2016 · 0 comments
Closed

Support configurable name for XUnit reporter #2628

ngeor opened this issue Dec 5, 2016 · 0 comments
Labels
type: feature enhancement proposal

Comments

@ngeor
Copy link
Contributor

ngeor commented Dec 5, 2016

The XUnit reporter produces an XML report that has a hard-coded name 'Mocha Tests'. In the XML this appears as: <testsuite name="Mocha Tests". When using mocha for various types of tests in the same CI build, it would be great to be able to specify this name to something more descriptive, e.g. "Unit Tests", "Integration Tests", etc.

@drazisil drazisil added type: feature enhancement proposal status: needs review a maintainer should (re-)review this pull request labels Mar 30, 2017
This was referenced Sep 22, 2018
sgilroy pushed a commit to TwineHealth/mocha that referenced this issue Feb 27, 2019
…ochajs#2628

* Fixing issue 2628 allowing to override the default test suite name of the xunit reporter.

* Fixing indentation

* Linting fixes.
@plroebuck plroebuck removed the status: needs review a maintainer should (re-)review this pull request label May 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature enhancement proposal
Projects
None yet
Development

No branches or pull requests

3 participants