summaryrefslogtreecommitdiff
path: root/subplot.yaml
blob: 1f8acb28677434810c6c0beb9a7c464483344926 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
- given: file (?P<filename>\S+)
  function: create_file

- when: I run sp-docgen (?P<md>\S+) -o (?P<output>\S+)
  function: run_docgen

- when: I run sp-codegen --run (?P<filename>\S+) -o test.py
  function: run_codegen

- when: I run sp-meta (?P<filename>\S+)
  function: run_meta

- when: I run pandoc --filter sp-filter (?P<filename>\S+) -o (?P<output>\S+)
  function: run_pandoc_with_filter

- then: file (?P<filename>\S+) exists
  function: file_exists

- then: file (?P<filename>\S+) matches /(?P<regex>.+)/
  function: file_matches

- then: output matches /(?P<pattern>.+)/
  function: stdout_matches

- then: scenario "(?P<name>.+)" was run
  function: scenario_was_run

- then: step "(?P<keyword>given|when|then) (?P<name>.+)" was run
  function: step_was_run

- then: program finished successfully
  function: exit_code_zero