-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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 ability to set suite name in JUnit XML report #533
Labels
good first issue
easy issue that is friendly to new contributor
plugin: junitxml
related to the junitxml builtin plugin
status: help wanted
developers would like help from experts on this topic
type: enhancement
new feature or API change, should be merged into features branch
Comments
Original comment by holger krekel (BitBucket: hpk42, GitHub: hpk42): Sorry for failing to get back -- yes, i think this is a useful feature. See http://pytest.org/latest/contributing.html for more info how to proceed. |
pytestbot
added
the
type: enhancement
new feature or API change, should be merged into features branch
label
Jun 15, 2015
RonnyPfannschmidt
added
good first issue
easy issue that is friendly to new contributor
status: help wanted
developers would like help from experts on this topic
labels
Jan 18, 2017
nicoddemus
added
plugin: junitxml
related to the junitxml builtin plugin
and removed
plugin: junitxml
related to the junitxml builtin plugin
labels
Feb 2, 2017
This was referenced Feb 22, 2017
This was referenced May 31, 2017
This was referenced Mar 6, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
good first issue
easy issue that is friendly to new contributor
plugin: junitxml
related to the junitxml builtin plugin
status: help wanted
developers would like help from experts on this topic
type: enhancement
new feature or API change, should be merged into features branch
Originally reported by: Simon Lundmark (BitBucket: simlun, GitHub: simlun)
Today as of the resolved issue #355 the XML report's root
<testsuite>
tag'sname
attribute is hard-coded topytest
. To make reporting easier in larger projects with several test suites it is useful to set this attribute to something meaningful likeunit
,integration
,gui
, etc. Other reporting tools that read and aggregate JUnit-style XML reports rely on this argument.I propose adding a
--junit-suitename str
argument to the py.test command which would set this string.I'm happy to contribute to the project with this feature if the people in charge think it's a good idea.
The text was updated successfully, but these errors were encountered: