Class StepTemplate
java.lang.Object
org.citrusframework.actions.AbstractTestAction
org.citrusframework.container.Template
org.citrusframework.cucumber.container.StepTemplate
- All Implemented Interfaces:
Described,Named,TestAction,TestActorAware
Step template executes a sequence of nested test actions. Template is configured with Gherkin syntax matching pattern and
optional parameter names for step arguments. By default this template is non global meaning that all parameter test variables
are only visible within the template.
- Since:
- 2.6
- Author:
- Christoph Deppisch
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.citrusframework.container.Template
Template.AbstractTemplateBuilder<T extends Template,B extends Template.AbstractTemplateBuilder<T, B>> -
Field Summary
Fields inherited from class org.citrusframework.actions.AbstractTestAction
description -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the parameterNames property.Type[]Provide parameter types for this step.Gets the value of the pattern property.Methods inherited from class org.citrusframework.container.Template
doExecute, getActionBuilders, getActions, getParameter, getTemplateName, isGlobalContextMethods inherited from class org.citrusframework.actions.AbstractTestAction
execute, getActor, getDescription, getName, isDisabled, setActor, setDescription, setName
-
Constructor Details
-
StepTemplate
Default constructor- Parameters:
builder-
-
-
Method Details
-
getPattern
Gets the value of the pattern property.- Returns:
- the pattern
-
getParameterNames
Gets the value of the parameterNames property.- Returns:
- the parameterNames
-
getParameterTypes
Provide parameter types for this step.- Returns:
-