blob: 831cc74ae286a8ca33849805eeee921f41c71e44 [file] [log] [blame]
[[release-notes-5.8.2]]
== 5.8.2
*Date of Release:* November 28, 2021
*Scope:*
* Text blocks in `@CsvSource` are treated like CSV files
* CSV headers in display names for `@CsvSource` and `@CsvFileSource`
* Custom quote character support in `@CsvSource` and `@CsvFileSource`
For a complete list of all _closed_ issues and pull requests for this release, consult the
link:{junit5-repo}+/milestone/60?closed=1+[5.8.2] milestone page in the JUnit repository on
GitHub.
[[release-notes-5.8.2-junit-platform]]
=== JUnit Platform
No changes.
[[release-notes-5.8.2-junit-jupiter]]
=== JUnit Jupiter
==== New Features and Improvements
* Text blocks in `@CsvSource` are now treated like complete CSV files, including support
for comments beginning with a `+++#+++` symbol as well as support for new lines within
quoted strings. See the
<<../user-guide/index.adoc#writing-tests-parameterized-tests-sources-CsvSource, User
Guide>> for details and examples.
* CSV headers can now be used in display names in parameterized tests. See
<<../user-guide/index.adoc#writing-tests-parameterized-tests-sources-CsvSource,
`@CsvSource`>> and
<<../user-guide/index.adoc#writing-tests-parameterized-tests-sources-CsvFileSource,
`@CsvFileSource`>> in the User Guide for details and examples.
* The quote character for _quoted strings_ in `@CsvSource` and `@CsvFileSource` is now
configurable via a new `quoteCharacter` attribute in each annotation.
[[release-notes-5.8.2-junit-vintage]]
=== JUnit Vintage
No changes.