Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Simple Arguments Aggregator docs #758

Merged
merged 1 commit into from
Sep 12, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/simple-arguments-aggregator.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ Annotating a test parameter with `@Aggregate` aggregates all the supplied argume
`@Aggregate` can be applied to a parameter in a `@ParameterizedTest`.

[source,java,indent=0]
====
----
include::{demo}[tag=basic_example]
====
----

== Limitations

Expand All @@ -26,9 +26,9 @@ This last point has a few exceptions based on JUnit 5 support for https://junit.
In the example above, if we have the following fields in the `Person` class:

[source,java,indent=0]
====
----
include::{demo}[tag=person_class]
====
----

Then JUnit 5 will take care of the conversion from `String` to `Gender` and `LocalDate`.
If you need to supply more complex objects to your tests, see if link:/docs/json-argument-source.adoc[JSON arguments sources] cover your use case.
Expand Down