sbt, scalatest and junit xml output

747 views
Skip to first unread message

Reik Schatz

unread,
Nov 15, 2013, 8:53:50 AM11/15/13
to simple-b...@googlegroups.com
Trying to run a sbt built project in Bamboo for the first time. Looks like Bamboo expects test results in Junit format (xml). How can I tell sbt to output this format nowadays? I am using sbt 0.13.0, scala 2.10.3 and scalatest 1.9.2. I have tried a few older suggestion like https://github.com/chenkelmann/junit_xml_listener or https://github.com/bseibel/sbt-simple-junit-xml-reporter-plugin with no success. 

Thanks in advance

Travis Dixon

unread,
Apr 7, 2014, 11:15:44 PM4/7/14
to simple-b...@googlegroups.com
Did you work out a solution?

I'm trying to figure it out too, I noticed you can add:
testOptions in Test += Tests.Argument(TestFrameworks.ScalaTest, "-u", "target/test-reports")

Which creates a target/test-reports folder for me, but doesn't put any tests in it.

If it makes a difference I am also dealing with an aggregation of projects rather than a single one
Reply all
Reply to author
Forward
0 new messages