public class DataDrivenAnnotations extends Object
| Modifier and Type | Method and Description |
|---|---|
int |
countDataEntries() |
protected List<String> |
findTestDataSource() |
protected String |
findTestDataSourcePaths() |
static DataDrivenAnnotations |
forClass(Class testClass) |
<T> List<T> |
getDataAsInstancesOf(Class<T> clazz) |
net.thucydides.core.model.DataTable |
getParametersTableFromTestDataAnnotation() |
net.thucydides.core.model.DataTable |
getParametersTableFromTestDataSource() |
Method |
getTestDataMethod() |
List<Method> |
getTestMethods() |
boolean |
hasTestDataDefined() |
boolean |
hasTestDataSourceDefined() |
DataDrivenAnnotations |
usingEnvironmentVariables(EnvironmentVariables environmentVariables) |
public static DataDrivenAnnotations forClass(Class testClass)
public DataDrivenAnnotations usingEnvironmentVariables(EnvironmentVariables environmentVariables)
public net.thucydides.core.model.DataTable getParametersTableFromTestDataSource() throws Throwable
Throwablepublic net.thucydides.core.model.DataTable getParametersTableFromTestDataAnnotation()
protected String findTestDataSourcePaths()
public boolean hasTestDataDefined()
public boolean hasTestDataSourceDefined()
public <T> List<T> getDataAsInstancesOf(Class<T> clazz) throws IOException
IOExceptionpublic int countDataEntries()
throws IOException
IOExceptionCopyright © 2023. All rights reserved.