Package sbt.testing

Interface AnnotatedFingerprint

  • All Superinterfaces:
    Fingerprint

    public interface AnnotatedFingerprint
    extends Fingerprint
    Indicates that classes or modules with a specific annotation, either on at least one top level method or on the class or module itself, should be discovered as test classes.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String annotationName()
      The fully qualified name of the annotation that identifies classes or modules as test classes or modules to be discovered.
      boolean isModule()
      Indicates whether modules with the annotation should be considered during discovery, or just classes.
    • Method Detail

      • isModule

        boolean isModule()
        Indicates whether modules with the annotation should be considered during discovery, or just classes.

        If a test framework allows both classes and modules, they should return two different fingerprints from Framework.fingerprints, one that returns false for isModule and another that returns true.

      • annotationName

        java.lang.String annotationName()
        The fully qualified name of the annotation that identifies classes or modules as test classes or modules to be discovered.