abstract class TestSuite extends TestSuiteMacro with Asserts[DummyTypeclass] with Formatter
Marker class used to mark an object
as something containing tests. Used
for test-discovery by SBT.
- Annotations
- @EnableReflectiveInstantiation()
- Alphabetic
- By Inheritance
- TestSuite
- Formatter
- Asserts
- TestSuiteMacro
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new TestSuite()
Type Members
-
implicit
class
ArrowAssert
[T] extends AnyRef
Provides a nice syntax for asserting things are equal, that is pretty enough to embed in documentation and examples
Provides a nice syntax for asserting things are equal, that is pretty enough to embed in documentation and examples
- Definition Classes
- Asserts
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
macro
def
apply(expr: Unit): Tree[Test]
Macro to demarcate a
Tree[Test]
.Macro to demarcate a
Tree[Test]
.- Definition Classes
- TestSuiteMacro
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
macro
def
assert(exprs: Boolean*): Unit
Checks that one or more expressions are true; otherwises raises an exception with some debugging info
Checks that one or more expressions are true; otherwises raises an exception with some debugging info
- Definition Classes
- Asserts
-
macro
def
assertMatch(t: Any)(pf: PartialFunction[Any, Unit]): Unit
Asserts that the given value matches the PartialFunction.
Asserts that the given value matches the PartialFunction. Useful for using pattern matching to validate the shape of a data structure.
- Definition Classes
- Asserts
- def assertPrettyPrint[T](t: T)(implicit arg0: DummyTypeclass[T]): String
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
macro
def
compileError(expr: String): CompileError
Asserts that the given expression fails to compile, and returns a framework.CompileError containing the message of the failure.
Asserts that the given expression fails to compile, and returns a framework.CompileError containing the message of the failure. If the expression compile successfully, this macro itself will raise a compilation error.
- Definition Classes
- Asserts
-
macro
def
continually(exprs: Boolean*): Unit
Checks that one or more expressions all remain true within a certain period of time.
Checks that one or more expressions all remain true within a certain period of time. Polls at a regular interval to check this.
- Definition Classes
- Asserts
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
macro
def
eventually(exprs: Boolean*): Unit
Checks that one or more expressions all become true within a certain period of time.
Checks that one or more expressions all become true within a certain period of time. Polls at a regular interval to check this.
- Definition Classes
- Asserts
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
format(results: Tree[Result]): Option[String]
- Definition Classes
- Formatter
-
def
formatColor: Boolean
- Definition Classes
- Formatter
-
def
formatEndColor: String
- Definition Classes
- Formatter
-
def
formatSingle(path: Seq[String], r: Result): Option[String]
- Definition Classes
- Formatter
-
def
formatStartColor(success: Boolean): String
- Definition Classes
- Formatter
-
def
formatTrace: Boolean
- Definition Classes
- Formatter
- def formatTruncate: Int
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
macro
def
intercept[T](exprs: Unit)(implicit arg0: ClassTag[T]): T
Asserts that the given block raises the expected exception.
Asserts that the given block raises the expected exception. The exception is returned if raised, and an
AssertionError
is raised if the expected exception does not appear.- Definition Classes
- Asserts
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
retry[T](n: Int)(body: ⇒ T): T
- Definition Classes
- Asserts
- Annotations
- @tailrec()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def utestTruncateLength: Int
- def utestWrap(runBody: ⇒ Future[Any])(implicit ec: ExecutionContext): Future[Any]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )