Annotation Type IncludePackages



  • @Retention(RUNTIME)
    @Target(TYPE)
    @Inherited
    @Documented
    @API(status=MAINTAINED,
         since="1.0")
    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).

    Since:
    1.0
    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.