Class StepData
- java.lang.Object
-
- net.thucydides.core.steps.stepdata.StepData
-
public final class StepData extends Object
Data-driven test step execution.
-
-
Field Summary
Fields Modifier and Type Field Description static char
DEFAULT_SEPARATOR
-
Constructor Summary
Constructors Constructor Description StepData(TestDataSource testDataSource)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StepFactory
getDefaultStepFactory()
<T> T
run(T steps)
StepData
separatedBy(char newSeparator)
static void
setDefaultStepFactory(StepFactory factory)
StepData
usingFactory(StepFactory factory)
static StepData
withTestDataFrom(String testDataSource)
static StepData
withTestDataFrom(String... testDataRows)
-
-
-
Field Detail
-
DEFAULT_SEPARATOR
public static final char DEFAULT_SEPARATOR
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
StepData
public StepData(TestDataSource testDataSource) throws IOException
- Throws:
IOException
-
-
Method Detail
-
withTestDataFrom
public static StepData withTestDataFrom(String testDataSource) throws IOException
- Throws:
IOException
-
withTestDataFrom
public static StepData withTestDataFrom(String... testDataRows) throws IOException
- Throws:
IOException
-
run
public <T> T run(T steps) throws IOException
- Throws:
IOException
-
usingFactory
public StepData usingFactory(StepFactory factory)
-
setDefaultStepFactory
public static void setDefaultStepFactory(StepFactory factory)
-
getDefaultStepFactory
public static StepFactory getDefaultStepFactory()
-
separatedBy
public StepData separatedBy(char newSeparator)
-
-