utest

framework

package framework

Visibility
  1. Public
  2. All

Type Members

  1. case class AssertionError(msg: String, captured: Seq[LoggedValue], cause: Throwable = null) extends java.lang.AssertionError with Product with Serializable

    A special AssertionError thrown by utest's macro-powered asserts that contains metadata about local variables used in the assert expression.

  2. trait CompileError extends AnyRef

    Simplified versions of the errors thrown during compilation, for use with the compileError macro.

    Simplified versions of the errors thrown during compilation, for use with the compileError macro. Contains only a single message and no position since things compiled using macros don't really have source positions.

  3. trait Formatter extends AnyRef

    Default implementation of Formatter, also used by the default SBT test framework.

    Default implementation of Formatter, also used by the default SBT test framework. Allows some degree of customization of the formatted test results.

  4. case class LoggedValue(name: String, tpeName: String, value: Any) extends Product with Serializable

    Information about a value that was logged in one of the macro-powered assert functions

  5. case class MultipleErrors(thrown: Throwable*) extends Exception with Product with Serializable

  6. case class NoSuchTestException(path: String*) extends Exception with Product with Serializable

    Indicates that there was no test to run at the path you provided

  7. case class Result(name: String, value: Try[Any], milliDuration: Long) extends Product with Serializable

    A single test's result after execution.

    A single test's result after execution. Any exception thrown or value returned by the test is stored in value. The value returned can be used in another test, which adds a dependency between them.

  8. case class SkippedOuterFailure(errorPath: Seq[String], outerError: Throwable) extends Exception with Product with Serializable

  9. case class Test(name: String, TestThunkTree: TestThunkTree) extends Product with Serializable

    Represents the metadata around a single test in a TestTreeSeq.

    Represents the metadata around a single test in a TestTreeSeq. This is a pretty simple data structure, as much of the information related to it comes contextually when traversing the utest.framework.TestTreeSeq to reach it.

  10. case class TestPath(value: Seq[String]) extends Product with Serializable

  11. class TestThunkTree extends AnyRef

    A tree of nested lexical scopes that accompanies the tree of tests.

    A tree of nested lexical scopes that accompanies the tree of tests. This is separated from the tree of metadata in TestTreeSeq in order to allow you to query the metadata without executing the tests. Generally created by the TestSuite macro and not instantiated manually.

  12. class TestTreeSeq extends AnyRef

    Extension methods on TreeSeq[Test]

  13. case class Tree[+T](value: T, children: Seq[Tree[T]]) extends Product with Serializable

    An immutable tree with each node containing a value, and a Seq of children.

    An immutable tree with each node containing a value, and a Seq of children. Provides all normal Seq functionality as well as some tree specific methods.

Value Members

  1. object ArgParse

    Crappy but good-enough version of a command-line parsing library

  2. object CompileError

  3. object ExecutionContext

  4. object Test extends Serializable

  5. object TestPath extends Serializable

  6. object TreeBuilder

    Created by haoyi on 3/11/16.

Ungrouped