# Interface ClasspathResourceSource

All Superinterfaces:
  `TestSource`

@Incubating public interface ClasspathResourceSource extends TestSource
Classpath resource-based test source.

Since:
  9.4.0

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getClasspathResourceName()`
  Returns the name of the source classpath resource.
  `@Nullable FilePosition`
  `getPosition()`
  Returns the position within the file, or null if not available.

- ## Method Details

  - ### getClasspathResourceName

    String getClasspathResourceName()
    Returns the name of the source classpath resource.
    Since:
      9.4.0

  - ### getPosition

    @Nullable FilePosition getPosition()
    Returns the position within the file, or null if not available.
    Since:
      9.4.0