Annotation Interface SelectClasspathResource


@SelectClasspathResource specifies the classpath resource to select when running a test suite on the JUnit Platform.
Since:
1.8
See Also:
Suite, JUnitPlatform, DiscoverySelectors.selectClasspathResource(String, org.junit.platform.engine.discovery.FilePosition)
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    A classpath resource name to select.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    The column number; ignored if the line number is ignored; ignored if not greater than zero.
    int
    The line number; ignored if not greater than zero.
  • Element Details

    • value

      String value
      A classpath resource name to select.
    • line

      int line
      The line number; ignored if not greater than zero.
      Default:
      0
    • column

      int column
      The column number; ignored if the line number is ignored; ignored if not greater than zero.
      Default:
      0