# FileSource

@Incubating
interface FileSource : FilesystemSource(source)

A test source defined by a single file.

#### Since

9.4.0

## Functions

getFile
Link copied to clipboard
abstract fun getFile(): File
Returns the file representing the test source.
getPosition
Link copied to clipboard
@Nullable
abstract fun getPosition(): @Nullable FilePosition
Returns the position within the file, or null if not available.