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
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. 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.

  9. 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.

  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  12. def evaluateFutureTree[N, L](t: HTree[N, () ⇒ Future[L]])(implicit ec: ExecutionContext): Future[HTree[N, L]]

  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  20. 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)

  21. 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.

  22. def run(tests: Tests, onComplete: (Seq[String], Result) ⇒ Unit = (_, _) => (), query: Seq[Tree[String]] = Nil, executor: Executor = utest.framework.Executor, ec: ExecutionContext = ...): HTree[String, Result]

  23. 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]

  24. 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]]

  25. 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

  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  27. def toString(): String

    Definition Classes
    AnyRef → Any
  28. 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

  29. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped