I did not find an option for setting separator characters, but these characters should not be escaped if you provide your data in Object[][] .
Consider the following example:
public static Object[][] provideParameters() { return new Object[][] { new Object[] {"A,B|C"} }; }
Both methods , and | can be used directly, which greatly improves the readability of your tests.
Annotate your test with @Parameters(method = "provideParameters") to use this factory test. You can even move the factory to another class (for example, @Parameters(source = Other.class, method = "provideParameters") ).
source share