summaryrefslogtreecommitdiff
path: root/subplot.yaml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-01-06 11:54:50 +0200
committerLars Wirzenius <liw@liw.fi>2020-01-06 12:02:05 +0200
commita5854b22214b229644014d88a5f5ef9fd7f86d64 (patch)
treed0650eea70c29c11fc74ea23f65d06b25a042e42 /subplot.yaml
parent8cf12026479d68bc54e846a3d08f84685fc066c1 (diff)
downloadsubplot-a5854b22214b229644014d88a5f5ef9fd7f86d64.tar.gz
Add: progress reporting in generated test program
Diffstat (limited to 'subplot.yaml')
-rw-r--r--subplot.yaml18
1 files changed, 9 insertions, 9 deletions
diff --git a/subplot.yaml b/subplot.yaml
index 206621c..0ecb9ad 100644
--- a/subplot.yaml
+++ b/subplot.yaml
@@ -1,21 +1,21 @@
-- given: file (?P<md>\S+)
- function: fixme
+- given: file (?P<filename>\S+)
+ function: create_file
- when: I run sp-docgen (?P<md>\S+) -o (?P<output>\S+)
- function: fixme
+ function: run_docgen
-- when: I run sp-codegen --run (?P<filename>\S+)
- function: fixme
+- when: I run sp-codegen --run (?P<filename>\S+) -o test.py
+ function: run_codegen
- then: file (?P<filename>\S+) exists
- function: fixme
+ function: file_exists
- then: scenario "(?P<name>.+)" was run
- function: fixme
+ function: scenario_was_run
- then: step "(?P<keyword>given|when|then) (?P<name>.+)" was run
- function: fixme
+ function: step_was_run
- then: program finished successfully
- function: fixme
+ function: exit_code_zero