Version:
v 1.1.1
Contents of file test-cases.csv:
"CASE"
"CASE MULTIPLE WORDS"
"CASE MULTIPLE WORDS, WITH A COMMA"
Test method:
@FileParameters(("classpath:test-cases.csv"))
@Test
public void testCase(final String singleColumnValue) {
assertTrue(null != singleColumnValue);
}
Expected:
All cases pass because it is legal and valid to include commas in CSV text if the column is quoted
Actual:
Cases where column contains comma fails with exception:
java.lang.IllegalArgumentException: Number of parameters inside @Parameters annotation doesn't match the number of test method parameters.