diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-04-09 08:39:35 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-04-09 08:39:35 +0300 |
commit | f270c36f40edd5ead9310670c2fae60a92c06340 (patch) | |
tree | 2c5a294dea6c43413978488b3d2485158b88bc22 /binds.yaml | |
parent | 23d6b03efc8c650357ddb38d9e80745cbbf77dae (diff) | |
download | ick-contractor-f270c36f40edd5ead9310670c2fae60a92c06340.tar.gz |
Fix up subplot
Diffstat (limited to 'binds.yaml')
-rw-r--r-- | binds.yaml | 20 |
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 |