Package org.gradle.api.tasks.testing

# Interface SingleFileSource

All Superinterfaces:
  `TestSource`

@Incubating @NullMarked public interface SingleFileSource extends TestSource
A test source defined by a single file.

Since:
  9.4.0

- ## Method Summary

  Modifier and Type
  Method
  Description
  `File`
  `getFile()`
  Returns the file representing the test source.

- ## Method Details

  - ### getFile

    File getFile()
    Returns the file representing the test source.
    Since:
      9.4.0