public class CsvSuiteFileReader extends Object implements ISuiteFileReader
Constructor and Description |
---|
CsvSuiteFileReader() |
Modifier and Type | Method and Description |
---|---|
boolean |
isSupported(File file)
Methods to identify whether the said suite file is supported by the implementing class or not.
|
List<ISimpleTest> |
read(File file,
List<String> arguments)
Method to parse and return the test instances of the test present inside the said suite file.
|
public boolean isSupported(File file)
ISuiteFileReader
isSupported
in interface ISuiteFileReader
file
- - File object of the test-suite file.public List<ISimpleTest> read(File file, List<String> arguments)
ISuiteFileReader
read
in interface ISuiteFileReader
file
- File
object of the test-suite file.arguments
- - List
of String
required to read or parse the said test-suite file.
These arguments are mainly related to the path of suite file, sheetname(in case of excel), delimiters (in case of csv), separators(in case of csv).List
of ISimpleTest
after parsing the test-suite file.Copyright © 2014. All rights reserved.