Orchestrata Ultimate › Tests › Reference › scripts › test_review_tools_cli
Tests reference — tests/scripts/test_review_tools_cli.py
Module of tests/scripts, split out because the directory page would be too large.
Prose pending.
tests/scripts/test_review_tools_cli.py
source · 11 tests · 239 lines
Tests for scripts/review-tools.py — the global code+test review CLI.
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_find_project_root_finds_pyproject |
101 | |
| function | test_find_project_root_none_when_absent |
108 | |
| function | test_main_default_target_is_dot |
119 | No argv[1] -> target defaults to '.', root resolved via pyproject.toml. |
| function | test_main_reports_issues_when_dirty |
130 | |
| function | test_main_no_issues_when_clean |
139 | |
| function | test_main_test_review_clean_when_tests_pass_review |
147 | |
| function | test_main_test_review_reports_issues_and_truncates_after_15 |
156 | 16 test modules with zero test_* functions each trigger TestReviewer's |
| function | test_main_falls_back_to_root_when_no_tests_dir |
181 | |
| function | test_main_no_pyproject_uses_target_as_root |
190 | When find_project_root() returns None, root falls back to |
| function | test_main_many_issues_truncated_message |
206 | >20 code issues -> the '... and N more issues' summary line. |
| function | test_main_module_entrypoint_runs |
225 | Covers the if __name__ == "__main__": main() guard by executing the |