Top Description Methods
org.junit.platform.suite.api

public @Interface SelectClasses

extends Annotation
Annotations
@Retention:RUNTIME
@Target:TYPE
@Inherited
@Documented
@API
status:MAINTAINED
since:1.0
Static Imports
org.apiguardian.api.API.Status.MAINTAINED

@SelectClasses specifies the classes to select when running a test suite on the JUnit Platform.
Since
1.0
See Also
Suite, org.junit.platform.engine.discovery.DiscoverySelectors#selectClass(Class), org.junit.platform.engine.discovery.DiscoverySelectors#selectClass(String)

Method Summary

Modifier and TypeMethod and Description
public String[]
names()

One or more classes to select by their fully qualified names.

public Class<?>[]
value()

One or more classes to select.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

namesback to summary
public String[] names()

One or more classes to select by their fully qualified names.

May be use in conjunction with or instead of value.

This attribute is intended to be used when a class cannot be referenced directly from where this annotation is used — for example, when a class is not visible due to being private or package-private.

Annotations
@API
status:MAINTAINED
since:1.13.3
Since
1.10
valueback to summary
public Class<?>[] value()

One or more classes to select.

May be use in conjunction with or instead of names.