Skip to content

Commit

Permalink
Update User Guide regarding @⁠FieldSource
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrannen committed Jun 2, 2024
1 parent 9b7957a commit b1183c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions documentation/src/docs/asciidoc/user-guide/writing-tests.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2253,9 +2253,9 @@ if they exceed the configured maximum length. The limit is configurable via the
`junit.jupiter.params.displayname.argument.maxlength` configuration parameter and defaults
to 512 characters.

When using `@MethodSource` or `@ArgumentsSource`, you can provide custom names for
arguments using the `{Named}` API. A custom name will be used if the argument is included
in the invocation display name, like in the example below.
When using `@MethodSource`, `@FieldSource`, or `@ArgumentsSource`, you can provide custom
names for arguments using the `{Named}` API. A custom name will be used if the argument is
included in the invocation display name, like in the example below.

[source,java,indent=0]
----
Expand Down

0 comments on commit b1183c9

Please sign in to comment.