summaryrefslogtreecommitdiff
path: root/binds.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'binds.yaml')
-rw-r--r--binds.yaml20
1 files changed, 20 insertions, 0 deletions
diff --git a/binds.yaml b/binds.yaml
new file mode 100644
index 0000000..bc9d052
--- /dev/null
+++ b/binds.yaml
@@ -0,0 +1,20 @@
+- given: a working contractor
+ function: contractor_is_working
+
+- given: file (?P<filename>\S+)
+ function: create_file
+
+- when: I run contractor build (?P<filename>\S+)
+ function: run_contractor_build
+
+- when: I run contractor dump (?P<filename>\S+)
+ function: run_contractor_dump
+
+- then: exit code is (?P<exit_code>\d+)
+ function: exit_code_is
+
+- then: artifact (?P<filename>\S+) exists
+ function: nop
+
+- then: the JSON output matches (?P<filename>\S+)
+ function: stdout_json_matches_yaml_file