Annotation Type ConfigurationParameter


@Retention(RUNTIME)
@Target(TYPE)
@Inherited
@Documented
@API(status=EXPERIMENTAL,
     since="1.8")
@Repeatable(ConfigurationParameters.class)
public @interface ConfigurationParameter
@Configuration specifies the configuration key and value pairs to be added to the discovery request when running a test suite on the JUnit Platform.
Since:
1.8
See Also:
Suite, JUnitPlatform, LauncherDiscoveryRequestBuilder.configurationParameter(String, String)
  • Required Element Summary

    Required Elements
    Modifier and Type Required Element Description
    String key
    The configuration parameter key under which to add the value to the discovery request; never null or blank.
    String value
    The value to add to the discovery request.
  • Element Details

    • key

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

      String value
      The value to add to the discovery request.