MCPcopy Create free account
hub / github.com/pytest-dev/pytest-bdd / print_generated_code

Function print_generated_code

src/pytest_bdd/scripts.py:48–52  ·  view source on GitHub ↗

Print generated test code for the given filenames.

(args: argparse.Namespace)

Source from the content-addressed store, hash-verified

46
47
48def print_generated_code(args: argparse.Namespace) -> None:
49 """Print generated test code for the given filenames."""
50 features, scenarios, steps = parse_feature_files(args.files)
51 code = generate_code(features, scenarios, steps)
52 print(code)
53
54
55def main() -> None:

Callers

nothing calls this directly

Calls 2

parse_feature_filesFunction · 0.85
generate_codeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…