I'm trying to generate standard report output when running ScalaTest FlatSpec tests with SBT.
I have searched around for a solution to this, but have only found sort of hacky solutions and reliance on SBT plugins. Bill mentioned a while back that he would be adding support for this to ScalaTest. Any progress on that? I'm hoping there is currently a straightforward way to generate standard Surefire reports when running ScalaTest FlatSepcs with SBT.
Is there some documentation or a newer feature that will reliably accomplish this? Has anyone gotten this working (I'm assuming it's rather common to use Jenkins and SBT)? Any examples?
Sorry it took me so long to approve this post. Google Groups for some reason stopped sending me notices of pending messages for a few weeks. The way to do it currently is the sbt plugin approach you discovered. We almost released something in 1.7 to do it more directly, but hit some issues and I backed it out as being too late in the game to do something risky. We can try that again in 1.8. The right way to do it is to enhance sbt's Framework API adding the notion of a run. We've been working on that as part of the 2.0 release effort. I haven't heard back from Mark Harrah, the sbt fellow, for a while now, so I'm not sure what the timing of it will be. I'll also document the sbt plugin approach on scalatest.org to make it easier for users to figure out how to do it currently.
On Sat, Jan 28, 2012 at 6:00 AM, Gregg Carrier <greggcarr...@gmail.com> wrote: > I'm trying to generate standard report output when running ScalaTest > FlatSpec tests with SBT.
> I have searched around for a solution to this, but have only found > sort of hacky solutions and reliance on SBT plugins. Bill mentioned a > while back that he would be adding support for this to ScalaTest. Any > progress on that? I'm hoping there is currently a straightforward way > to generate standard Surefire reports when running ScalaTest FlatSepcs > with SBT.
> Is there some documentation or a newer feature that will reliably > accomplish this? Has anyone gotten this working (I'm assuming it's > rather common to use Jenkins and SBT)? Any examples?
> Thanks -
> Gregg
> -- > You received this message because you are subscribed to the Google > Groups "scalatest-users" group. > To post to this group, send email to scalatest-users@googlegroups.com > To unsubscribe from this group, send email to > scalatest-users+unsubscribe@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
On Tuesday, February 7, 2012 11:00:01 AM UTC, Bill Venners wrote:
> Sorry it took me so long to approve this post. Google Groups for some > reason stopped sending me notices of pending messages for a few weeks. > The way to do it currently is the sbt plugin approach you discovered. > We almost released something in 1.7 to do it more directly, but hit > some issues and I backed it out as being too late in the game to do > something risky. We can try that again in 1.8. The right way to do it > is to enhance sbt's Framework API adding the notion of a run. We've > been working on that as part of the 2.0 release effort. I haven't > heard back from Mark Harrah, the sbt fellow, for a while now, so I'm > not sure what the timing of it will be. I'll also document the sbt > plugin approach on scalatest.org to make it easier for users to figure > out how to do it currently.
> Bill
> On Sat, Jan 28, 2012 at 6:00 AM, Gregg Carrierwrote: > > I'm trying to generate standard report output when running ScalaTest > > FlatSpec tests with SBT.
> > I have searched around for a solution to this, but have only found > > sort of hacky solutions and reliance on SBT plugins. Bill mentioned a > > while back that he would be adding support for this to ScalaTest. Any > > progress on that? I'm hoping there is currently a straightforward way > > to generate standard Surefire reports when running ScalaTest FlatSepcs > > with SBT.
> > Is there some documentation or a newer feature that will reliably > > accomplish this? Has anyone gotten this working (I'm assuming it's > > rather common to use Jenkins and SBT)? Any examples?
> > Thanks -
> > Gregg
> > -- > > You received this message because you are subscribed to the Google > > Groups "scalatest-users" group. > > To post to this group, send email to scalatest-users@googlegroups.com > > To unsubscribe from this group, send email to > > scalatest-users+unsubscribe@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
> What is the plug-in approach? (I did have a dig around, but I couldn't see
> any documentation on the ScalaTest page).
> Cheers,
> -- Matt Russell
> On Tuesday, February 7, 2012 11:00:01 AM UTC, Bill Venners wrote:
>> Sorry it took me so long to approve this post. Google Groups for some
>> reason stopped sending me notices of pending messages for a few weeks.
>> The way to do it currently is the sbt plugin approach you discovered.
>> We almost released something in 1.7 to do it more directly, but hit
>> some issues and I backed it out as being too late in the game to do
>> something risky. We can try that again in 1.8. The right way to do it
>> is to enhance sbt's Framework API adding the notion of a run. We've
>> been working on that as part of the 2.0 release effort. I haven't
>> heard back from Mark Harrah, the sbt fellow, for a while now, so I'm
>> not sure what the timing of it will be. I'll also document the sbt
>> plugin approach on scalatest.org to make it easier for users to figure
>> out how to do it currently.
>> Bill
>> On Sat, Jan 28, 2012 at 6:00 AM, Gregg Carrierwrote:
>> > I'm trying to generate standard report output when running ScalaTest
>> > FlatSpec tests with SBT.
>> > I have searched around for a solution to this, but have only found
>> > sort of hacky solutions and reliance on SBT plugins. Bill mentioned a
>> > while back that he would be adding support for this to ScalaTest. Any
>> > progress on that? I'm hoping there is currently a straightforward way
>> > to generate standard Surefire reports when running ScalaTest FlatSepcs
>> > with SBT.
>> > Is there some documentation or a newer feature that will reliably
>> > accomplish this? Has anyone gotten this working (I'm assuming it's
>> > rather common to use Jenkins and SBT)? Any examples?
>> --
> You received this message because you are subscribed to the Google
> Groups "scalatest-users" group.
> To post to this group, send email to scalatest-users@googlegroups.com
> To unsubscribe from this group, send email to
> scalatest-users+unsubscribe@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