object
TestHarness
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
def
main(args: Array[String]): Unit
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
parseOpts(args: List[String]): Map[String, Any]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
def
usage(exitCode: Int): Nothing
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any
This is the entry point to running tests written with this library from the command line. Note that this library also implements the common testing interface for test libraries, so tests should also just work with
sbt test
.If this application is run and given just a single test class name, it will run that test and write its TAP stream to the console.
If this application is run and given multiple test class names, it will run each of those tests, and present a summary report, similar to the one produces by Perl's Test::Harness.
This application also accepts a few command line options to customize its behavior:
-r
: Alternative Reporter class to use for running a single test.-R
: Alternative MultiTestReporter class to use for running a group of tests. Also enables using the MultiTestReporter for a single test.--help
: Prints usage information.