-
Notifications
You must be signed in to change notification settings - Fork 928
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
JUnitXMLReportPlugin in JUnitXmlTestsListener.scala is not adding skipped attribute to the testsuite root element #2198
Comments
Sure. Send us a pull request. |
I'd like to have a go at picking this up since it's currently causing me pain. A couple of questions:
|
Generally our preference for new feature is sbt 1.0 especially if it breaks binary compatibility, but give that it's not out yet, if you want to use the feature sooner you'd have to send us a PR first to 0.13, and then forward port it to 1.0. |
…g tests Fixes sbt#2198 Ref #PULL Generated Junit-style XML reports now include a count of ignored, skipped and pending tests; and individual tests are correctly flagged with the <skipped/> element.
Pull request against 0.13 above, the change is very small so it should be easy for me to forward-port to 1.0
|
Hi,
JUnitXML document in testsuite root element could contains skipped="numberofskippedtests" so other plugins can read this info (like jenkins) and get how many skipped tests are.
Looking into the (http://www.scala-sbt.org/release/sxr/sbt/JUnitXmlTestsListener.scala.html) this attribute is not being added
val result = <testsuite hostname={hostname} name={name}
tests={tests + ""} errors={errors + ""} failures={failures + ""}
time={(duration/1000.0).toString} >
So, could we add this attribute?
The text was updated successfully, but these errors were encountered: