- given: an installed subplot function: install_subplot cleanup: uninstall_subplot - then: scenario "(?P.+)" was run function: scenario_was_run regex: true - then: scenario "(?P.+)" was not run function: scenario_was_not_run regex: true - then: step "(?Pgiven|when|then) (?P.+)" was run function: step_was_run regex: true - then: step "(?Pgiven|when|then) (?P.+)" was run, and then step "(?Pgiven|when|then) (?P.+)" function: step_was_run_and_then regex: true - then: cleanup for "(?Pgiven|when|then) (?P.+)" was run, and then for "(?Pgiven|when|then) (?P.+)" function: cleanup_was_run regex: true - then: cleanup for "(?Pgiven|when|then) (?P.+)" was not run function: cleanup_was_not_run regex: true - then: JSON output matches {filename} function: json_output_matches_file - then: "{filename} does not end in a newline" function: file_ends_in_zero_newlines - then: "{filename} ends in one newline" function: file_ends_in_one_newline - then: "{filename} ends in two newlines" function: file_ends_in_two_newlines