Package com.thoughtworks.gauge
Class StepDetails
java.lang.Object
com.thoughtworks.gauge.StepDetails
Holds the information about the current step executing at runtime.
-
Constructor Summary
ConstructorsConstructorDescriptionStepDetails(String text, boolean isFailing, String stackTrace, String errorMessage) StepDetails(String text, String dynamicText, boolean isFailing, String stackTrace, String errorMessage) -
Method Summary
-
Constructor Details
-
StepDetails
-
StepDetails
-
StepDetails
public StepDetails()
-
-
Method Details
-
getIsFailing
- Returns:
- True if the current spec or scenario or step is failing due to error.
-
getText
- Returns:
- The name of the step as given in the spec file.
-
getDynamicText
- Returns:
- The step text with values of dynamic parameters instead of placeholders.
Return the same value as
textin case of static parameters.
-
getStackTrace
-
getErrorMessage
-