anchor.diff:  [[writing-tests-parameterized-tests-sources-EnumSource]]
   ===== @EnumSource
   
  -`@EnumSource` provides a convenient way to use `Enum` constants. The annotation provides an optional `names` parameter that lets you specify which constants shall be used. If omitted, all constants will be used like in the following example.
  +`@EnumSource` provides a convenient way to use `Enum` constants. The annotation provides an optional
  +`names` parameter that lets you specify which constants shall be used. If omitted, all constants
  +will be used like in the following example.
   
   [source,java,indent=0]
   [subs="verbatim"]
  
positive.code: [[writing-tests-parameterized-tests-display-names]]
  ==== Customizing Display Names
  
  By default, the display name of a parameterized test invocation containers the invocation index and the `String` representation of all arguments. You can customize the invocation display names by using the `name` parameter of the `@ParameterizedTest` annotation like in the following example.
  
  [source,java,indent=0]
  [subs="verbatim"]
  
negative.code: include::{testDir}/example/ParameterizedTestDemo.java[tags=first_example]
  ----
  
  This parameterized test uses the `@ValueSource` annotation to specify a `String` array as the source
  of arguments. When executing this method, each invocation will be reported separately. For instance,
  the `ConsoleLauncher` will print output similar to the following.
  
  [source]
  [subs="verbatim"]
  