Package

minitest

api

Permalink

package api

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. api
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait AbstractTestSuite extends AnyRef

    Permalink
    Annotations
    @EnableReflectiveInstantiation()
  2. final class AssertionException extends MiniTestException

    Permalink
  3. trait Asserts extends AnyRef

    Permalink
  4. final class CanceledException extends MiniTestException

    Permalink
  5. final class IgnoredException extends MiniTestException

    Permalink
  6. final class InterceptException extends MiniTestException

    Permalink
  7. abstract class MiniTestException extends RuntimeException

    Permalink
  8. case class Properties[I](setup: () ⇒ I, tearDown: (I) ⇒ Void, setupSuite: () ⇒ Unit, tearDownSuite: () ⇒ Unit, properties: Seq[TestSpec[I, Unit]])(implicit ec: minitest.ExecutionContext) extends Iterable[TestSpec[Unit, Unit]] with Product with Serializable

    Permalink
  9. sealed trait Result[+T] extends AnyRef

    Permalink
  10. final case class SourceLocation(fileName: Option[String], filePath: Option[String], line: Int) extends Product with Serializable

    Permalink
  11. case class TestSpec[I, +O](name: String, f: (I) ⇒ minitest.Future[Result[O]]) extends (I) ⇒ minitest.Future[Result[O]] with Product with Serializable

    Permalink
  12. final class UnexpectedException extends MiniTestException

    Permalink
  13. sealed abstract class Void extends AnyRef

    Permalink

    Replacement of Unit.

    Replacement of Unit.

    Scala automatically converts non-Unit values into Unit, making it impossible to detect when users are actually returning Unit 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.

Value Members

  1. object Asserts extends Asserts

    Permalink
  2. val DefaultExecutionContext: ExecutionContextExecutor

    Permalink
  3. object NotOurException

    Permalink
  4. object OurException

    Permalink
  5. object Result

    Permalink
  6. object SourceLocation extends Serializable

    Permalink
  7. object TestSpec extends Serializable

    Permalink
  8. object Utils

    Permalink
  9. object Void

    Permalink
  10. object compat

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped