Interface TestDataSource
- All Known Implementing Classes:
CSVTestDataSource
,StringTestDataSource
public interface TestDataSource
A set of test data used in parameterized web tests.
Test data can come from a number of sources, such as CSV files, Excel spreadsheet, arrays, etc.
-
Method Summary
Modifier and TypeMethodDescriptiongetData()
<T> List<T>
getDataAsInstancesOf
(Class<T> clazz, Object... constructorArgs) <T> List<T>
getInstanciatedInstancesFrom
(Class<T> clazz, StepFactory factory) separatedBy
(char newSeparator)
-
Method Details
-
getHeaders
-
getData
-
getDataAsInstancesOf
-
getInstanciatedInstancesFrom
-
separatedBy
-