scala.testing.SUnit

TestConsoleMain

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())
 

Inherits

  1. AnyRef
  2. Any

Value Members

  1. def equals(arg0: Any): Boolean

    This method is used to compare the receiver object (this) with the argument object (arg0) for equivalence

  2. def hashCode(): Int

    Returns a hash code value for the object

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

  4. def suite: TestSuite

  5. def toString(): String

    Returns a string representation of the object