Annotation Type ExcludePackages

  • @Retention(RUNTIME)
    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).

    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.