Re: [scalatest-users] JunitXmlReporter does nothing with skipped tests, thus they are not in output .xml

216 views
Skip to first unread message

Bill Venners

unread,
Sep 28, 2012, 12:58:43 PM9/28/12
to scalate...@googlegroups.com
Hi Dmitry,

Thanks for reporting this. We'll check into it.

Bill

On Fri, Sep 28, 2012 at 5:42 AM, Dmitry Makhno <dma...@griddynamics.com> wrote:
> Hi,
>
> I have a jenkins with sbt and found that there is not pending, ignored test
> in results.
>
> I found that here:
> http://code.google.com/p/scalatest/source/browse/trunk/src/main/scala/org/scalatest/tools/JunitXmlReporter.scala?r=3050#307
> There is nothing for skipped tests
>
> Now I have to use sbt-simple-junit-xml-reporter plugin with following code
> https://github.com/playframework/Play20/blob/master/framework/src/sbt-plugin/src/main/scala/test/JUnitXmlTestListener.scala#L117
> that was took from here
> https://github.com/bseibel/sbt-simple-junit-xml-reporter-plugin/blob/master/src/main/scala/ca/seibelnet/TestGroupXmlWriter.scala#L68
>
> they both put <skipped/> tag for ignored tests. I think it is necessarily to
> add this in next release. Thanx in advance
>
> Used: ScalaTest 2.0-x
>
> Dmytro
>
> --
> You received this message because you are subscribed to the Google
> Groups "scalatest-users" group.
> To post to this group, send email to scalate...@googlegroups.com
> To unsubscribe from this group, send email to
> scalatest-use...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/scalatest-users?hl=en
> ScalaTest itself, and documentation, is available here:
> http://www.artima.com/scalatest



--
Bill Venners
Artima, Inc.
http://www.artima.com

Dmitry Makhno

unread,
Oct 4, 2012, 2:14:48 AM10/4/12
to scalate...@googlegroups.com
Thanks, looking forward to test it.
Reply all
Reply to author
Forward
0 new messages