Annotation Type IncludePackages

  • @Retention(RUNTIME)
    public @interface IncludePackages
    @IncludePackages specifies the packages to be included 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:
    ExcludePackages, JUnitPlatform
    • Required Element Summary

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

      • value

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