summaryrefslogtreecommitdiff
path: root/subplot/data.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'subplot/data.yaml')
-rw-r--r--subplot/data.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/subplot/data.yaml b/subplot/data.yaml
new file mode 100644
index 0000000..8006240
--- /dev/null
+++ b/subplot/data.yaml
@@ -0,0 +1,10 @@
+- given: >
+ a file (?P<filename>\\S+) containing "(?P<data>.*)"
+ regex: true
+ function: create_file_with_given_data
+
+- given: "a file {filename} containing some random data"
+ function: create_file_with_random_data
+
+- then: "data in {live} and {restore} match"
+ function: live_and_restored_data_match