Class StepData
java.lang.Object
net.thucydides.core.steps.stepdata.StepData
public final class StepData
extends java.lang.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
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(java.lang.String testDataSource)
static StepData
withTestDataFrom(java.lang.String... testDataRows)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
DEFAULT_SEPARATOR
public static final char DEFAULT_SEPARATOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
StepData
- Throws:
java.io.IOException
-
-
Method Details
-
withTestDataFrom
public static StepData withTestDataFrom(java.lang.String testDataSource) throws java.io.IOException- Throws:
java.io.IOException
-
withTestDataFrom
public static StepData withTestDataFrom(java.lang.String... testDataRows) throws java.io.IOException- Throws:
java.io.IOException
-
run
public <T> T run(T steps) throws java.io.IOException- Throws:
java.io.IOException
-
usingFactory
-
setDefaultStepFactory
-
getDefaultStepFactory
-
separatedBy
-