Orchestrata Ultimate › Tests › Reference › scripts › test_test_gen_cli

Tests reference — tests/scripts/test_test_gen_cli.py

Module of tests/scripts, split out because the directory page would be too large.

Prose pending.

tests/scripts/test_test_gen_cli.py

source · 9 tests · 205 lines

Tests for scripts/test-gen.py — the global test-stub generation CLI.

Kind Name Line Description
function test_find_project_root_finds_pyproject 94
function test_find_project_root_none_when_absent 101
function test_main_falls_back_to_cwd_when_no_pyproject_found 112 When find_project_root() returns None, main() falls back to
function test_main_generates_stubs_for_small_project 130
function test_main_generates_stubs_truncates_after_15 140
function test_main_falls_back_to_root_when_no_src_dir 149
function test_main_coverage_with_tests_dir 168
function test_main_coverage_without_tests_dir 179
function test_main_module_entrypoint_runs 191 Covers the if __name__ == "__main__": main() guard by executing the