Interface TestSource

All Superinterfaces:
All Known Subinterfaces:
FileSystemSource, UriSource
All Known Implementing Classes:
ClasspathResourceSource, ClassSource, CompositeTestSource, DirectorySource, FileSource, MethodSource, PackageSource

@API(status=STABLE, since="1.0") public interface TestSource extends Serializable
Representation of the source of a test or container used to navigate to its location by IDEs and build tools.

This is a marker interface. Clients need to check instances for concrete subclasses or subinterfaces.

Implementations of this interface need to ensure that they are serializable and immutable since they may be used as data transfer objects.