Annotation Type ExcludeClassNamePatterns


  • @Retention(RUNTIME)
    @Target(TYPE)
    @Inherited
    @Documented
    @API(status=MAINTAINED,
         since="1.0")
    public @interface ExcludeClassNamePatterns
    @ExcludeClassNamePatterns specifies regular expressions that are used to match against fully qualified class names when running a test suite on the JUnit Platform.

    The patterns are combined using OR semantics: if the fully qualified name of a class matches against at least one of the patterns, the class will be excluded from the test plan.

    Since:
    1.0
    See Also:
    Suite, JUnitPlatform, ClassNameFilter.excludeClassNamePatterns(java.lang.String...)
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String[] value
      Regular expressions used to match against fully qualified class names.
    • Element Detail

      • value

        java.lang.String[] value
        Regular expressions used to match against fully qualified class names.