- given: file (?P\S+) function: create_file - when: I run sp-docgen (?P\S+) -o (?P\S+) function: run_docgen - when: I try to run sp-docgen (?P\S+) -o (?P\S+) function: try_docgen - when: I run sp-codegen --run (?P\S+) -o test.py function: run_codegen - when: I try to run sp-codegen --run (?P\S+) -o test.py function: try_codegen - when: I run sp-meta (?P\S+) function: run_meta - when: I run pandoc --filter sp-filter (?P\S+) -o (?P\S+) function: run_pandoc_with_filter - then: exit code is non-zero function: exit_code_nonzero - then: file (?P\S+) exists function: file_exists - then: file (?P\S+) matches /(?P.+)/ function: file_matches - then: output matches /(?P.+)/ function: stdout_matches - then: scenario "(?P.+)" was run function: scenario_was_run - then: step "(?Pgiven|when|then) (?P.+)" was run function: step_was_run - then: program finished successfully function: exit_code_zero