package api
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- api
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- trait AbstractTestSuite extends AnyRef
- Annotations
- @EnableReflectiveInstantiation()
- final class AssertionException extends MiniTestException
- trait Asserts extends AnyRef
- final class CanceledException extends MiniTestException
- final class IgnoredException extends MiniTestException
- final class InterceptException extends MiniTestException
- abstract class MiniTestException extends RuntimeException
- case class Properties[I](setup: () => I, tearDown: (I) => Void, setupSuite: () => Unit, tearDownSuite: () => Unit, properties: Seq[TestSpec[I, Unit]])(implicit ec: ExecutionContext) extends Iterable[TestSpec[Unit, Unit]] with Product with Serializable
- sealed trait Result[+T] extends AnyRef
- final case class SourceLocation(fileName: Option[String], filePath: Option[String], line: Int) extends Product with Serializable
- case class TestSpec[I, +O](name: String, f: (I) => Future[Result[O]]) extends (I) => Future[Result[O]] with Product with Serializable
- final class UnexpectedException extends MiniTestException
- sealed abstract class Void extends AnyRef
Replacement of
Unit
.Replacement of
Unit
.Scala automatically converts non-
Unit
values intoUnit
, making it impossible to detect when users are actually returningUnit
or not in their tests.Void
on the other hand boxes any such value, such that we can detect it in tests and deliver a meaningful error.