Closed
Description
Overview
In order to treat text blocks as files in @CsvSource
(see #2734), we should allow users to change the quote character to "
when using text blocks.
This will of course allow one to change the quote character to anything other than '
or "
, even when using the value
attribute in @CsvSource
, but it is assumed the primary use case is using double quotes in text blocks.
For consistency in supported features, we should do the same for @CsvFileSource
.
Related Issues
- Introduce support for text blocks in
@CsvSource
#2721 - Treat text blocks as files in
@CsvSource
#2734
Deliverables
- Introduce new
char quoteCharacter() default '\'';
attribute in@CsvSource
. - Introduce new
char quoteCharacter() default '"';
attribute in@CsvFileSource
. - Document in the Release Notes.