scala.testing.SUnit

trait TestConsoleMain

[source: scala/testing/SUnit.scala]

trait TestConsoleMain
extends AnyRef

Convenience trait, mix it in a TestMain object and implement "suite" to get this code.

    val r = new TestResult()
    suite.run(r)
    for (val tf <- r.failures()) {
      println(tf.toString())
    
Method Summary
def main (args : Array[java.lang.String]) : Unit
abstract def suite : TestSuite
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
abstract def suite : TestSuite

def main(args : Array[java.lang.String]) : Unit