Annotation Type SelectPackages



  • @Retention(RUNTIME)
    @Target(TYPE)
    @Inherited
    @Documented
    @API(status=MAINTAINED,
         since="1.0")
    public @interface SelectPackages
    @SelectPackages specifies the names of packages to select 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:
    SelectClasses, PackageSelector, JUnitPlatform
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String[] value
      One or more fully qualified package names to select.
    • Element Detail

      • value

        java.lang.String[] value
        One or more fully qualified package names to select.