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

public @Interface ConfigurationParameter

extends Annotation
Annotations
@Retention:RUNTIME
@Target:TYPE
@Inherited
@Documented
@API
status:STABLE
since:1.10
@Repeatable:ConfigurationParameters
Static Imports
org.apiguardian.api.API.Status.STABLE

@ConfigurationParameter is a repeatable annotation that specifies a configuration key and value pair to be added to the discovery request when running a test suite on the JUnit Platform.
Since
1.8
See Also
ConfigurationParametersResource, DisableParentConfigurationParameters, Suite, org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder#configurationParameter(String, String)

Method Summary

Modifier and TypeMethod and Description
public String
key()

The configuration parameter key under which to add the value to the discovery request; never null or blank.

public String
value()

The value to add to the discovery request for the specified key.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

keyback to summary
public String key()

The configuration parameter key under which to add the value to the discovery request; never null or blank.

valueback to summary
public String value()

The value to add to the discovery request for the specified key.