Skip to content

Commit

Permalink
Add more references to Parameterized Containers
Browse files Browse the repository at this point in the history
  • Loading branch information
marcphilipp committed Feb 25, 2025
1 parent 473f4c8 commit 7379c65
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion documentation/src/docs/asciidoc/user-guide/appendix.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ Please refer to the corresponding sections for <<running-tests-build-maven-bom,
`junit-jupiter-engine`::
JUnit Jupiter test engine implementation; only required at runtime.
`junit-jupiter-params`::
Support for <<writing-tests-parameterized-tests,parameterized tests>> in JUnit Jupiter.
Support for <<writing-tests-parameterized-tests>> in JUnit Jupiter.
`junit-jupiter-migrationsupport`::
Support for migrating from JUnit 4 to JUnit Jupiter; only required for support for
JUnit 4's `@Ignore` annotation and for running selected JUnit 4 rules.
Expand Down
7 changes: 5 additions & 2 deletions documentation/src/docs/asciidoc/user-guide/extensions.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -804,6 +804,9 @@ implementing different kinds of tests that rely on repetitive invocation of _all
methods in a test class albeit in different contexts — for example, with different
parameters, by preparing the test class instance differently, or multiple times without
modifying the context.
Please refer to the implementations of
<<writing-tests-parameterized-tests, Parameterized Containers>> which uses this extension
point to provide its functionality.

[[extensions-test-templates]]
=== Providing Invocation Contexts for Test Templates
Expand Down Expand Up @@ -839,8 +842,8 @@ implementing different kinds of tests that rely on repetitive invocation of a te
method albeit in different contexts — for example, with different parameters, by preparing
the test class instance differently, or multiple times without modifying the context.
Please refer to the implementations of <<writing-tests-repeated-tests>> or
<<writing-tests-parameterized-tests>> which use this extension point to provide their
functionality.
<<writing-tests-parameterized-tests, Parameterized Tests>> which use this extension point
to provide their functionality.

[[extensions-keeping-state]]
=== Keeping State in Extensions
Expand Down
8 changes: 6 additions & 2 deletions documentation/src/docs/asciidoc/user-guide/writing-tests.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2634,6 +2634,9 @@ Each invocation of a container template class behaves like the execution of a re
class with full support for the same lifecycle callbacks and extensions. Please refer to
<<extensions-container-templates>> for usage examples.

NOTE: <<writing-tests-parameterized-tests, Parameterized Containers>> are built-in
specializations of container templates.

[[writing-tests-test-templates]]
=== Test Templates

Expand All @@ -2645,8 +2648,9 @@ invocation of a test template method behaves like the execution of a regular `@T
method with full support for the same lifecycle callbacks and extensions. Please refer to
<<extensions-test-templates>> for usage examples.

NOTE: <<writing-tests-repeated-tests>> and <<writing-tests-parameterized-tests>> are
built-in specializations of test templates.
NOTE: <<writing-tests-repeated-tests>> and
<<writing-tests-parameterized-tests, Parameterized Tests>> are built-in specializations of
test templates.

[[writing-tests-dynamic-tests]]
=== Dynamic Tests
Expand Down

0 comments on commit 7379c65

Please sign in to comment.