- given: a working contractor function: contractor_is_working - given: file (?P\S+) function: create_file - given: file (?P\S+) from source directory function: copy_file_from_srcdir - when: I run contractor build (?P\S+) function: run_contractor_build - when: I run contractor dump (?P\S+) function: run_contractor_dump - then: exit code is (?P\d+) function: exit_code_is - then: file (?P\S+) exists function: file_exists - then: the JSON output matches (?P\S+) function: stdout_json_matches_yaml_file