summaryrefslogtreecommitdiff
path: root/subplot.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'subplot.yaml')
-rw-r--r--subplot.yaml51
1 files changed, 0 insertions, 51 deletions
diff --git a/subplot.yaml b/subplot.yaml
index 8d4187f..f35cdef 100644
--- a/subplot.yaml
+++ b/subplot.yaml
@@ -1,13 +1,3 @@
-- given: file {filename}
- function: create_file
-
-- given: file (?P<filename>\S+) has modification time (?P<y>\d+)-(?P<mon>\d+)-(?P<d>\d+) (?P<h>\d+):(?P<min>\d+):(?P<s>\d+)
- function: touch_file
- regex: true
-
-- when: I remember the metadata for {filename}
- function: remember_metadata
-
- when: I run sp-docgen {md} -o {output}
function: run_docgen
@@ -35,43 +25,9 @@
- when: I run sp-meta {filename}
function: run_meta
-- when: I touch {filename}
- function: update_mtime
-
- when: I run pandoc --filter sp-filter {filename} -o {output}
function: run_pandoc_with_filter
-- then: exit code is non-zero
- function: exit_code_nonzero
-
-- then: file {filename} exists
- function: file_exists
-
-- then: file {filename} does not exist
- function: file_does_not_exist
-
-- then: file (?P<filename>\S+) matches /(?P<regex>.+)/
- function: file_matches
- regex: true
-
-- then: file (?P<filename>\S+) contains "(?P<pattern>.+)"
- function: file_contains
- regex: true
-
-- then: "{filename} has the same metadata as before"
- function: has_same_metadata_as_remembered
-
-- then: "{filename} has changed from before"
- function: has_diff_metadata_than_remembered
-
-- then: output matches /(?P<pattern>.+)/
- function: stdout_matches
- regex: true
-
-- then: stderr matches /(?P<pattern>.+)/
- function: stderr_matches
- regex: true
-
- then: scenario "(?P<name>.+)" was run
function: scenario_was_run
regex: true
@@ -95,10 +51,3 @@
- then: cleanup for "(?P<keyword>given|when|then) (?P<name>.+)" was not run
function: cleanup_was_not_run
regex: true
-
-- then: program finished successfully
- function: exit_code_zero
-
-- then: only files (?P<filenames>.+) exist
- function: only_these_files_exist
- regex: true