utest
package utest
Created by haoyi on 1/24/14.
- Alphabetic
- By Inheritance
- utest
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
case class
AssertionError
(msg: String, captured: Seq[TestValue], 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. -
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.
- case class MultipleErrors (thrown: Throwable*) extends Exception with Product with Serializable
-
case class
NoSuchTestException
(path: String*) extends Exception with Product with Serializable
Indicates that there was no test to run at the path you provided
- type Show = utest.asserts.Show
- case class SkippedOuterFailure (errorPath: Seq[String], outerError: Throwable) extends Exception with Product with Serializable
-
abstract
class
TestSuite
extends TestSuiteMacro with Asserts[DummyTypeclass] with Formatter
Marker class used to mark an
object
as something containing tests.Marker class used to mark an
object
as something containing tests. Used for test-discovery by SBT.- Annotations
- @EnableReflectiveInstantiation()
- trait TestSuiteMacro extends AnyRef
-
case class
TestValue
(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 -
implicit
class
TestableString
extends AnyRef
Extension methods to allow you to create tests via the "omg"-{ ...
Extension methods to allow you to create tests via the "omg"-{ ... } syntax.
- Annotations
- @compileTimeOnly( ... )
-
implicit
class
TestableSymbol
extends AnyRef
- Annotations
- @compileTimeOnly( ... )
Value Members
- implicit val retryInterval: RetryInterval
- implicit val retryMax: RetryMax
-
implicit
def
toTestSeq(t: Tree[Test]): TestTreeSeq
Extension methods on
Tree[Test]
in order to conveniently run the tests and aggregate the results -
object
*
Placeholder object used to declare test cases which you don't want to bother naming.
Placeholder object used to declare test cases which you don't want to bother naming. These test cases are named with sequential numbers starting from "0", "1", "2", etc.
- object CompileError
-
object
PlatformShims
Platform specific stuff that differs between JVM and JS
- object TestSuite extends TestSuiteMacro