# Package-level declarations

Defines different test sources that can be associated to tests. The test source data is serialized from the test worker to the daemon. The class hierarchy is meant to mirror the one in the JUnit Platform (see `org.junit.platform.engine.TestSource`), but applies to any kind of test.

## Types

ClasspathResourceSource
Link copied to clipboard
@Incubating
interface ClasspathResourceSource : TestSource
Classpath resource-based test source.
ClassSource
Link copied to clipboard
@Incubating
interface ClassSource : TestSource
Class-based test source.
DirectorySource
Link copied to clipboard
@Incubating
interface DirectorySource : FilesystemSource
Directory-based test source.
FilePosition
Link copied to clipboard
@Incubating
interface FilePosition
Position inside a file represented by line and column numbers.
FileSource
Link copied to clipboard
@Incubating
interface FileSource : FilesystemSource
A test source defined by a single file.
FilesystemSource
Link copied to clipboard
@Incubating
interface FilesystemSource : TestSource
Filesystem-based test source.
MethodSource
Link copied to clipboard
@Incubating
interface MethodSource : TestSource
Method-based test source.
NoSource
Link copied to clipboard
@Incubating
interface NoSource : TestSource
The test engine did not declare any sources for the test at all.
OtherSource
Link copied to clipboard
@Incubating
interface OtherSource : TestSource
The test engine declared a test source not recognized by Gradle.
TestSource
Link copied to clipboard
@Incubating
interface TestSource
Representation of the source of a test or container used to navigate to its location by IDEs and build tools.