sbt

Tests

object Tests

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Tests
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. final case class Argument(framework: Option[TestFramework], args: List[String]) extends TestOption with Product with Serializable

    Defines arguments to pass to test frameworks.

  2. final case class Cleanup(cleanup: (ClassLoader) ⇒ Unit) extends TestOption with Product with Serializable

    Defines a TestOption that will evaluate cleanup after all tests execute.

  3. final case class Exclude(tests: Iterable[String]) extends TestOption with Product with Serializable

    The names of tests to explicitly exclude from execution.

  4. final case class Execution(options: Seq[TestOption], parallel: Boolean, tags: Seq[(Tag, Int)]) extends Product with Serializable

    Configures test execution.

  5. final case class Filter(filterTest: (String) ⇒ Boolean) extends TestOption with Product with Serializable

    Selects tests by name to run.

  6. final case class Filters(filterTest: Seq[(String) ⇒ Boolean]) extends TestOption with Product with Serializable

    Test execution will be ordered by the position of the matching filter.

  7. final case class Group(name: String, tests: Seq[TestDefinition], runPolicy: TestRunPolicy) extends Product with Serializable

    A named group of tests configured to run in the same JVM or be forked.

  8. final case class Listeners(listeners: Iterable[TestReportListener]) extends TestOption with Product with Serializable

  9. final case class Output(overall: TestResult.Value, events: Map[String, SuiteResult], summaries: Iterable[Summary]) extends Product with Serializable

    The result of a test run.

  10. final case class Setup(setup: (ClassLoader) ⇒ Unit) extends TestOption with Product with Serializable

    Defines a TestOption that will evaluate setup before any tests execute.

  11. final case class SubProcess(config: ForkOptions) extends TestRunPolicy with Product with Serializable

    Configures a group of tests to be forked in a new JVM with forking options specified by config.

  12. final case class Summary(name: String, summaryText: String) extends Product with Serializable

    Summarizes a test run.

  13. sealed trait TestRunPolicy extends AnyRef

    Configures whether a group of tests runs in the same JVM or are forked.

  14. type TestRunnable = (String, TestFunction)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def Argument(tf: TestFramework, args: String*): Argument

    Defines a TestOption that passes arguments args to only the test framework tf.

  7. def Argument(args: String*): Argument

    Defines a TestOption that passes arguments args to all test frameworks.

  8. def Cleanup(cleanup: () ⇒ Unit): Cleanup

    Defines a TestOption that will evaluate cleanup after all tests execute.

    Defines a TestOption that will evaluate cleanup after all tests execute. Cleanup is not currently performed for forked tests.

  9. object InProcess extends TestRunPolicy with Product with Serializable

    Configures a group of tests to run in the same JVM.

  10. def Setup(setup: () ⇒ Unit): Setup

    Defines a TestOption that will evaluate setup before any tests execute.

    Defines a TestOption that will evaluate setup before any tests execute. Setup is not currently performed for forked tests.

  11. object SubProcess extends Serializable

  12. def allDefs(analysis: Analysis): Seq[Definition]

  13. def apply(frameworks: Map[TestFramework, Framework], testLoader: ClassLoader, runners: Map[TestFramework, Runner], discovered: Seq[TestDefinition], config: Execution, log: Logger): Task[Output]

  14. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  15. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. def discover(fingerprints: Seq[Fingerprint], definitions: Seq[Definition], log: Logger): (Seq[TestDefinition], Set[String])

  17. def discover(frameworks: Seq[Framework], analysis: Analysis, log: Logger): (Seq[TestDefinition], Set[String])

  18. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  20. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def foldTasks(results: Seq[Task[Output]], parallel: Boolean): Task[Output]

  22. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  23. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  25. def makeParallel(loader: ClassLoader, runnables: Iterable[(String, TestFunction)], setupTasks: Task[Unit], tags: Seq[(Tag, Int)]): Task[Map[String, SuiteResult]]

  26. def makeSerial(loader: ClassLoader, runnables: Seq[(String, TestFunction)], setupTasks: Task[Unit], tags: Seq[(Tag, Int)]): Task[List[(String, SuiteResult)]]

  27. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  30. def overall(results: Iterable[TestResult.Value]): TestResult.Value

  31. def processResults(results: Iterable[(String, SuiteResult)]): Output

  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  33. def testTask(loader: ClassLoader, frameworks: Map[TestFramework, Framework], runners: Map[TestFramework, Runner], tests: Seq[TestDefinition], userSetup: Iterable[(ClassLoader) ⇒ Unit], userCleanup: Iterable[(ClassLoader) ⇒ Unit], log: Logger, testListeners: Seq[TestReportListener], config: Execution): Task[Output]

  34. def toString(): String

    Definition Classes
    AnyRef → Any
  35. def toTask(loader: ClassLoader, name: String, fun: TestFunction, tags: Seq[(Tag, Int)]): Task[Map[String, SuiteResult]]

  36. def toTasks(loader: ClassLoader, runnables: Seq[(String, TestFunction)], tags: Seq[(Tag, Int)]): Task[Map[String, SuiteResult]]

  37. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def showResults(log: Logger, results: Output, noTestsMessage: ⇒ String): Unit

    Annotations
    @deprecated
    Deprecated

    (Since version 0.13.5) Tests.showResults() has been superseded with TestResultLogger and setting 'testResultLogger'.

Inherited from AnyRef

Inherited from Any

Ungrouped