map
Object[] map(Reader reader)
Maps file contents to parameters. In your implementation read the data
from the reader. The reader is closed in the framework, so just read it
:)
While reading transform the data into Object[][], where external
dimension are different parameter sets, and internal dimension is the set
of params per single test call
You can optionally return Object[] with Strings inside, but each String
must be a string in the same format as what you would normally pass to
@Parameters({})
- Parameters:
reader
-
- Returns:
- an array with all parameter sets