Returns "ScalaTest"
, the human readable name for this test framework.
Returns "ScalaTest"
, the human readable name for this test framework.
Returns an org.scalatools.testing.Runner
that will load test classes via the passed testLoader
and direct output from running the tests to the passed array of Logger
s.
Returns an org.scalatools.testing.Runner
that will load test classes via the passed testLoader
and direct output from running the tests to the passed array of Logger
s.
Returns an array containing fingerprint for ScalaTest's test, which are classes
whose superclass name is org.scalatest.Suite
or is annotated with org.scalatest.WrapWith
.
Returns an array containing fingerprint for ScalaTest's test, which are classes
whose superclass name is org.scalatest.Suite
or is annotated with org.scalatest.WrapWith
.
Class that makes ScalaTest tests visible to sbt.
To use ScalaTest from within sbt, simply add a line like this to your project file, replacing 1.5 with whatever version you desire:
You can configure the output shown when running with sbt in four ways: 1) turn off color, 2) show short stack traces, 3) full stack traces, and 4) show durations for everything. To do that you need to add test options, like this:
After the -o, place any combination of:
For example, "-oDF" would show full stack traces and durations (the amount of time spent in each test).