summaryrefslogtreecommitdiff
path: root/binds.yaml
blob: 9d4a946760c7d68b5c4a040d8518398dd1207e2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
- given: a working contractor
  function: contractor_is_working

- given: file (?P<filename>\S+)
  function: create_file

- given: file (?P<filename>\S+) from source directory
  function: copy_file_from_srcdir

- 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: file (?P<filename>\S+) exists
  function: file_exists

- then: the JSON output matches (?P<filename>\S+)
  function: stdout_json_matches_yaml_file