Orchestrata Ultimate › Tests › Reference › scripts › test_gen_tests_cli
Tests reference — tests/scripts/test_gen_tests_cli.py
Module of tests/scripts, split out because the directory page would be too large.
Prose pending.
tests/scripts/test_gen_tests_cli.py
source · 7 tests · 157 lines
Tests for scripts/gen_tests.py — the EnhancedTestGenerator stub-preview CLI.
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_source_files_point_at_real_repo_files |
65 | |
| function | test_generate_for_files_real_source_produces_syntax_ok |
73 | |
| function | test_generate_for_files_multiple_real_files |
88 | |
| function | test_generate_for_files_missing_file_hits_error_branch |
100 | A path that doesn't exist makes SourceASTParser.parse_file raise; |
| function | test_generate_for_files_continues_after_error |
113 | One bad entry followed by one good entry -> the batch continues past |
| function | test_main_uses_default_source_files |
133 | |
| function | test_main_module_entrypoint_runs |
141 | Covers the if __name__ == "__main__": main() guard by executing |