summaryrefslogtreecommitdiff
path: root/subplot.yaml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-01-11 08:47:29 +0200
committerLars Wirzenius <liw@liw.fi>2020-01-11 09:20:52 +0200
commit8de61284477998ba05423fb59a217601f01c510b (patch)
treef030d58ef7f3145aa6e165d2e9c144ecc86336c1 /subplot.yaml
parent3b88942f992792a568cf4e8839ad1c136e34ace0 (diff)
downloadsubplot-8de61284477998ba05423fb59a217601f01c510b.tar.gz
Add: scenarios for testing sp-filter, dot and roadmap graphs
Diffstat (limited to 'subplot.yaml')
-rw-r--r--subplot.yaml7
1 files changed, 6 insertions, 1 deletions
diff --git a/subplot.yaml b/subplot.yaml
index 0ecb9ad..df0ec34 100644
--- a/subplot.yaml
+++ b/subplot.yaml
@@ -7,9 +7,15 @@
- when: I run sp-codegen --run (?P<filename>\S+) -o test.py
function: run_codegen
+- 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: scenario "(?P<name>.+)" was run
function: scenario_was_run
@@ -18,4 +24,3 @@
- then: program finished successfully
function: exit_code_zero
-