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 charDEFAULT_SEPARATOR -
Constructor Summary
Constructors Constructor Description StepData(TestDataSource testDataSource) -
Method Summary
Modifier and Type Method Description static StepFactorygetDefaultStepFactory()<T> Trun(T steps)StepDataseparatedBy(char newSeparator)static voidsetDefaultStepFactory(StepFactory factory)StepDatausingFactory(StepFactory factory)static StepDatawithTestDataFrom(java.lang.String testDataSource)static StepDatawithTestDataFrom(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
-