Package net.thucydides.model.steps
Class ExecutedStepDescription
java.lang.Object
net.thucydides.model.steps.ExecutedStepDescription
- All Implemented Interfaces:
Cloneable
A description of a step executed during a Thucydides step run.
Used in the reporting to generate user-readable names for the executed steps.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionExecutedStepDescription(Class<? extends Object> stepsClass, String name) ExecutedStepDescription(Class<? extends Object> stepsClass, String name, boolean isAGroup) protectedExecutedStepDescription(Class<? extends Object> stepsClass, String name, List<Object> argumentsList, Map<String, Object> displayedFields, boolean isAGroup) -
Method Summary
Modifier and TypeMethodDescriptionclone()getName()The class of the step library being executed.getTitle()Turns a method into a human-readable title.booleanisAGroup()booleanstatic ExecutedStepDescriptionWe might not have the test class provided (e.g.static ExecutedStepDescriptionvoidsetAGroup(boolean aGroup) withDisplayedFields(Map<String, Object> displayedFields) static ExecutedStepDescription
-
Constructor Details
-
ExecutedStepDescription
-
ExecutedStepDescription
-
ExecutedStepDescription
-
ExecutedStepDescription
-
-
Method Details
-
clone
-
getStepClass
The class of the step library being executed. -
getName
-
getArguments
-
getRawArguments
-
withName
-
withDisplayedFields
-
of
We might not have the test class provided (e.g. at the end of a test). -
of
public static ExecutedStepDescription of(Class<? extends Object> stepsClass, String name, Object[] arguments) -
withTitle
-
isAGroup
public boolean isAGroup() -
setAGroup
public void setAGroup(boolean aGroup) -
getStepMethod
-
isAQuestion
public boolean isAQuestion() -
getTitle
Turns a method into a human-readable title. -
getDisplayedFields
-
asAQuestion
-