Indicates whether or not the test class requested by this
TaskDef
was "explicitly specified.
Indicates whether or not the test class requested by this
TaskDef
was "explicitly specified."
For more information on what explicitly specified means, see the main documentation for this class.
The fingerprint that the test class requested by this
TaskDef
matches.
The fingerprint that the test class requested by this
TaskDef
matches.
The fully qualified name of the test class requested by this
TaskDef
.
The fully qualified name of the test class requested by this
TaskDef
.
One to many selectors describing the nature of the Task
requested by this TaskDef
.
One to many selectors describing the nature of the Task
requested by this TaskDef
.
A Selector
can indicate a direct, such as command-line,
request from the user or a "rerun" of previously run tests. In the latter
case, the Selectors
would be taken from those passed in
events of a previous run or runs.
A bundle of information used to request a
Task
from a test framework.An array of
TaskDef
is passed toRunner
'stasks
method, which returns an array ofTasks
. Each returned task, when executed, will run tests and suites determined by the test class name, fingerprints, "explicitly specified" field, and selectors of one of the passedTaskDef
s.The "Explicitly specified" field means the user supplied a complete fully qualified test name, such as with the command:
as opposed to commands like:
or simply:
The
explicitlySpecified
field will be true for in the first case, and false in the last two cases, because only in the first case was the fully qualified test class name completely specified by the user. The test framework can use this information to decide whether to ignore an annotation requesting a class not be discovered.The
fingerprint
parameter indicates how the test suite was identified as a test suite. Thistasks
method may be called withTaskDef
s containing the same value fortestClassName
but different fingerprints. For example, if both a class and its companion object were test classes, thetasks
method could be passed an array containingTaskDef
s with the same name but with a different value forfingerprint.isModule
.A test framework may "reject" a requested task by returning no
Task
for thatTaskDef
.