Skip to content

Commit f87404f

Browse files
committed
add change to release-notes 5.12.0-M1
release-notes-5.12.0-M1-junit-jupiter-new-features-and-improvements to be exact Issue #3708
1 parent 37216f8 commit f87404f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

documentation/src/docs/asciidoc/release-notes/release-notes-5.12.0-M1.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,11 @@ JUnit repository on GitHub.
8686
a test-scoped `ExtensionContext` in `Extension` methods called during test class
8787
instantiation. This behavior will become the default in future versions of JUnit.
8888
* `@TempDir` is now supported on test class constructors.
89+
* `@ParameterizedTest`s now support argument count validation as an experimental feature.
90+
With the `junit.jupiter.params.argumentCountValidation=strict` configuration
91+
or the `@ParameterizedTest(argumentCountValidation = ArgumentCountValidationMode.STRICT)` attribute,
92+
any mismatch between the declared number of arguments and the number of arguments provided by the arguments source
93+
will result in an error. By default there is only an error if there are less arguments provided than declared.
8994

9095

9196
[[release-notes-5.12.0-M1-junit-vintage]]

0 commit comments

Comments
 (0)