Tests
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Tests.type
Members list
Type members
Classlikes
Defines arguments to pass to test frameworks.
Defines arguments to pass to test frameworks.
Value parameters
- args
-
The list of arguments to pass to the selected framework(s).
- framework
-
The test framework the arguments apply to if one is specified in Some. If None, the arguments will apply to all test frameworks.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TestOptionclass Objecttrait Matchableclass AnyShow all
Defines a TestOption that will evaluate cleanup
after all tests execute. The ClassLoader provided to cleanup
is the loader containing the test classes that ran. Cleanup is not currently performed for forked tests.
Defines a TestOption that will evaluate cleanup
after all tests execute. The ClassLoader provided to cleanup
is the loader containing the test classes that ran. Cleanup is not currently performed for forked tests.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TestOptionclass Objecttrait Matchableclass AnyShow all
The names of tests to explicitly exclude from execution.
The names of tests to explicitly exclude from execution.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TestOptionclass Objecttrait Matchableclass AnyShow all
Configures test execution.
Configures test execution.
Value parameters
- options
-
The options to apply to this execution, including test framework arguments, filters, and setup and cleanup work.
- parallel
-
If true, execute each unit of work returned by the test frameworks in separate sbt.Tasks. If false, execute all work in a single sbt.Task.
- tags
-
The tags that should be added to each test task. These can be used to apply restrictions on concurrent execution.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Selects tests by name to run. Only tests for which filterTest
returns true will be run.
Selects tests by name to run. Only tests for which filterTest
returns true will be run.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TestOptionclass Objecttrait Matchableclass AnyShow all
Test execution will be ordered by the position of the matching filter.
Test execution will be ordered by the position of the matching filter.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TestOptionclass Objecttrait Matchableclass AnyShow all
A named group of tests configured to run in the same JVM or be forked.
A named group of tests configured to run in the same JVM or be forked.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
Configures a group of tests to run in the same JVM.
Configures a group of tests to run in the same JVM.
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait TestRunPolicyclass Objecttrait Matchableclass AnyShow all
- Self type
-
InProcess.type
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TestOptionclass Objecttrait Matchableclass AnyShow all
The result of a test run.
The result of a test run.
Value parameters
- events
-
The result of each test group (suite) executed during this test run.
- overall
-
The overall result of execution across all tests for all test frameworks in this test run.
- summaries
-
Explicit summaries directly provided by test frameworks. This may be empty, in which case a default summary will be generated.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Defines a TestOption that will evaluate setup
before any tests execute. The ClassLoader provided to setup
is the loader containing the test classes that will be run. Setup is not currently performed for forked tests.
Defines a TestOption that will evaluate setup
before any tests execute. The ClassLoader provided to setup
is the loader containing the test classes that will be run. Setup is not currently performed for forked tests.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TestOptionclass Objecttrait Matchableclass AnyShow all
Configures a group of tests to be forked in a new JVM with forking options specified by config
.
Configures a group of tests to be forked in a new JVM with forking options specified by config
.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TestRunPolicyclass Objecttrait Matchableclass AnyShow all
Summarizes a test run.
Summarizes a test run.
Value parameters
- name
-
The name of the test framework providing this summary.
- summaryText
-
The summary message for tests run by the test framework.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Configures whether a group of tests runs in the same JVM or are forked.
Configures whether a group of tests runs in the same JVM or are forked.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object InProcess.typeclass SubProcess
Types
Value members
Concrete methods
Defines a TestOption that passes arguments args
to all test frameworks.
Defines a TestOption that passes arguments args
to all test frameworks.
Attributes
Defines a TestOption that passes arguments args
to only the test framework tf
.
Defines a TestOption that passes arguments args
to only the test framework tf
.
Attributes
Defines a TestOption that will evaluate cleanup
after all tests execute. Cleanup is not currently performed for forked tests.
Defines a TestOption that will evaluate cleanup
after all tests execute. Cleanup is not currently performed for forked tests.
Attributes
Defines a TestOption that will evaluate setup
before any tests execute. Setup is not currently performed for forked tests.
Defines a TestOption that will evaluate setup
before any tests execute. Setup is not currently performed for forked tests.
Attributes
Deprecated methods
Attributes
- Deprecated
- true