Annotation Type ExcludePackages



  • @Retention(RUNTIME)
    @Target(TYPE)
    @Inherited
    @Documented
    @API(status=MAINTAINED,
         since="1.0")
    public @interface ExcludePackages
    @ExcludePackages specifies the packages to be excluded when running a test suite on the JUnit Platform.

    JUnit 4 Suite Support

    Test suites can be run on the JUnit Platform in a JUnit 4 environment via @RunWith(JUnitPlatform.class).

    Since:
    1.0
    See Also:
    IncludePackages, JUnitPlatform
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String[] value
      One or more packages to exclude.
    • Element Detail

      • value

        java.lang.String[] value
        One or more packages to exclude.