Class StepTemplate

All Implemented Interfaces:
Described, Named, TestAction, TestActorAware

public class StepTemplate extends Template
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
  • Constructor Details

    • StepTemplate

      public StepTemplate(StepTemplate.Builder builder)
      Default constructor
      Parameters:
      builder -
  • Method Details

    • getPattern

      public Pattern getPattern()
      Gets the value of the pattern property.
      Returns:
      the pattern
    • getParameterNames

      public List<String> getParameterNames()
      Gets the value of the parameterNames property.
      Returns:
      the parameterNames
    • getParameterTypes

      public Type[] getParameterTypes()
      Provide parameter types for this step.
      Returns: