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

    Modifier and Type
    Method
    Description
    The fully qualified name of the annotation that identifies classes or modules as test classes or modules to be discovered.
    boolean
    Indicates whether modules with the annotation should be considered during discovery, or just classes.
  • Method Details

    • 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

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