Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 971 Bytes

File metadata and controls

41 lines (31 loc) · 971 Bytes

Steps

A DSL file consist of different steps. Each step begins with a name, followed by that steps body. The bodies of steps vary, according to the step type - these types are described in Step Types

Note: it is recommended to read about return, mock and assign steps before continuing with "other chapters", since most examples are given using these step types

An example of a step:

step_name:
    call: http.get
    args:
      url: https://www.example.com/callA

Steps are executed in order, from top to bottom:

steps.yml

first_step:
  call: reflect.mock
  args:
    response:
      test: value

second_step:
  call: reflect.mock
  args:
    response:
      test: value

third_step:
  call: reflect.mock
  args:
    response:
      test: value

Back to Guide