summaryrefslogtreecommitdiff
path: root/subplot.yaml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-01-11 10:00:43 +0200
committerLars Wirzenius <liw@liw.fi>2020-01-11 10:00:43 +0200
commit56d5d9cb639463adb7dcfe011c54fe0d75e51348 (patch)
tree1425d6a9927c574d646a45f5781592c4b6bee374 /subplot.yaml
parent1af5fa0d171cc764b937c734a15b4533561f4d67 (diff)
downloadsubplot-56d5d9cb639463adb7dcfe011c54fe0d75e51348.tar.gz
Add: scenario for testing sp-meta
Diffstat (limited to 'subplot.yaml')
-rw-r--r--subplot.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/subplot.yaml b/subplot.yaml
index df0ec34..1f8acb2 100644
--- a/subplot.yaml
+++ b/subplot.yaml
@@ -7,6 +7,9 @@
- 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
@@ -16,6 +19,9 @@
- 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