Packages

o

testz

runner

object runner

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. runner
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final class TestOutput extends AnyRef

    Something you can use to represent the intermediate output of a typical Harness; a failure state and a side effect which prints all results.

  2. final class TestResult extends AnyRef

    Returned by runner.apply - after all is said and done, tests run and output printed, did any fail? Useful for exit status; I often check failed and throw an exception in main if it's true.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(suites: List[() => Future[TestOutput]], printer: (String) => Unit, ec: ExecutionContext): Future[TestResult]

    The meat of the runner.

    The meat of the runner. Takes a list of () => Future[TestOutput] and runs all of them in sequence. Then, prints out how long the suites took to run, using the user-supplied printer. Returns whether any tests failed.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def intersperseReverse(strs: ::[String], delim: String): ::[String]
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. def printStrs(strs: List[String], output: (String) => Unit): Unit

    These four functions are just utility methods for users to write fast test result printers.

    These four functions are just utility methods for users to write fast test result printers.

    Annotations
    @tailrec()
  18. def printStrss(strs: List[List[String]], output: (List[String]) => Unit): Unit
    Annotations
    @tailrec()
  19. def printTest(out: Result, scope: List[String]): List[String]
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  25. object TestOutput

Inherited from AnyRef

Inherited from Any

Ungrouped