Packages

o

utest

TestRunner

object TestRunner

Created by lihaoyi on 12/9/17.

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

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. def collectQueryTerminals(test: Tree[String], query: Seq[Tree[Int]], revIntPath: List[Int], revStringPath: List[String]): HTree[String, (List[String], List[Int])]

    Recurses into the test tree using a pre-resolveQueryIndicesed query tree, going straight to the terminal nodes of the query tree before handing over to collectTestNodes to collect all the tests within those nodes.

  7. def collectTestNodes(test: Tree[String], revIntPath: List[Int], revStringPath: List[String]): HTree[String, (List[String], List[Int])]

    Pick up all terminal nodes within the given test tree, so they can be executed and their results recorded.

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def evaluateFutureTree[N, L](t: HTree[N, () ⇒ Future[L]])(implicit ec: ExecutionContext): Future[HTree[N, L]]
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. def renderResults(results: Seq[(String, HTree[String, Result])], formatter: Formatter = Formatter, showSummaryThreshold: Int = 30, resultsHeader: String = DefaultFormatters.resultsHeader, failureHeader: String = DefaultFormatters.failureHeader): (Str, Int, Int)
  19. def resolveQueryIndices(test: Tree[String], query: Seq[Tree[String]], revStringPath: List[String]): Either[Seq[Seq[String]], Seq[Tree[Int]]]

    Takes a query tree and resolves the strings against the test tree of a test suite, either returning the query trees strings converted into integer indices into the test tree, or the list of paths which the query tree tried to access but did not exist.

  20. def run(tests: Tests, onComplete: (Seq[String], Result) ⇒ Unit = (_, _) => (), query: Seq[Tree[String]] = Nil, executor: Executor = utest.framework.Executor, ec: ExecutionContext = ...): HTree[String, Result]
  21. def runAndPrint(tests: Tests, label: String, query: Seq[Tree[String]] = Nil, printStream: PrintStream = System.out, executor: Executor = Executor, formatter: Formatter = utest.framework.Formatter, ec: ExecutionContext = ...): HTree[String, Result]
  22. def runAndPrintAsync(tests: Tests, label: String, query: Seq[Tree[String]] = Nil, printStream: PrintStream = System.out, executor: Executor = Executor, formatter: Formatter = utest.framework.Formatter, ec: ExecutionContext = ...): Future[HTree[String, Result]]
  23. def runAsync(tests: Tests, onComplete: (Seq[String], Result) ⇒ Unit = (_, _) => (), query: Seq[Tree[String]] = Nil, executor: Executor = Executor, ec: ExecutionContext = ...): Future[HTree[String, Result]]

    Runs this Tree[Test] asynchronously and returns a Future containing the tree of the results.

    Runs this Tree[Test] asynchronously and returns a Future containing the tree of the results.

    onComplete

    Called each time a single Test finishes

    ec

    Used to

  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. def unbox(res: Throwable): Throwable

    For some reason Scala futures boxes Errors into ExecutionExceptions, so un-box them to show the user since he probably doesn't care about this boxing

  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped