I've deployed a ScalaTest branch that gives the nicely formatted,
color output from sbt that you can get from the command line. The
branch is here:
http://www.scala-tools.org/repo-snapshots/org/scalatest/scalatest/1.2.1-SNAPSHOT/
You can use the following code in your sbt project file to get it:
val scalaToolsSnapshots = ScalaToolsSnapshots
val scalatest = "org.scalatest" % "scalatest" % "1.2.1-SNAPSHOT"
You can configure the output in three ways: 1) turn off color, 2) show
full stack traces, and 3) show durations for everything. To do that
you need to add:
override def testOptions = super.testOptions ++
Seq(TestArgument(TestFrameworks.ScalaTest, "-oD"))
D - show durations
F - show full stack traces
W - without color
So "-oDF" would show complete stack traces and durations (the amount
of time spent in each test).
Please let me know if you have any trouble with it.
Thanks.
Bill
----
Bill Venners
Artima, Inc.
http://www.artima.com
I don't know what's going on, but if it was using 1.2.1-SNAPSHOT it
should come out in color by default. Perhaps specs has a dependency on
an older version of ScalaTest that's getting used?
Bill
> --
> 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
>
--