Orchestrata Ultimate › Tests › Reference › scripts › test_comprehensive_review
Tests reference — tests/scripts/test_comprehensive_review.py
Module of tests/scripts, split out because the directory page would be too large.
Prose pending.
tests/scripts/test_comprehensive_review.py
source · 38 tests · 560 lines
Tests for scripts/comprehensive_review.py — orchestrates code-review.py,
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_add_section_accumulates_summary_totals |
114 | |
| function | test_add_section_critical_adds_to_warnings |
122 | |
| function | test_add_section_no_critical_leaves_warnings_at_zero |
128 | |
| function | test_to_markdown_pass_and_fail_status_icons |
134 | |
| function | test_to_markdown_warn_status_icon |
143 | |
| function | test_to_markdown_critical_count_shown_in_summary_table |
150 | |
| function | test_to_markdown_no_critical_omits_parenthetical_in_table |
157 | |
| function | test_to_markdown_empty_details_prints_no_issues_found |
165 | |
| function | test_to_markdown_truncates_details_after_fifty |
172 | |
| function | test_to_markdown_critical_recommendation_section |
182 | |
| function | test_to_markdown_isolation_recommendation_section |
190 | |
| function | test_to_markdown_constraint_recommendation_section |
198 | |
| function | test_to_markdown_flaky_recommendation_section |
206 | |
| function | test_to_markdown_references_and_footer_always_present |
214 | |
| function | test_to_json_shape |
224 | |
| function | test_run_command_success_captures_stdout |
237 | |
| function | test_run_command_timeout_returns_negative_one |
244 | |
| function | test_run_command_exception_returns_negative_one |
252 | |
| function | test_run_code_review_parses_issues_from_json_output |
263 | |
| function | test_run_code_review_returns_empty_list_when_output_unreadable |
290 | |
| function | test_run_isolation_audit_parses_all_violation_markers |
304 | |
| function | test_run_isolation_audit_returns_empty_for_clean_output |
320 | |
| function | test_run_neo4j_preflight_parses_high_and_medium |
332 | |
| function | test_run_neo4j_preflight_returns_empty_for_clean_output |
341 | |
| function | test_run_test_suite_all_passing |
353 | |
| function | test_run_test_suite_mixed_pass_and_fail |
365 | |
| function | test_run_test_suite_folds_setup_errors_into_failed_count |
376 | |
| function | test_run_test_suite_does_not_invoke_pytest_xdist |
401 | |
| function | test_run_flaky_hunter_parses_flaky_block |
416 | |
| function | test_run_flaky_hunter_returns_empty_when_no_flaky_block |
431 | |
| function | test_main_writes_markdown_report_to_explicit_output |
443 | |
| function | test_main_writes_json_report_format |
458 | |
| function | test_main_code_review_errors_drive_nonzero_exit |
469 | |
| function | test_main_isolation_violations_reflected_in_report |
493 | |
| function | test_main_neo4j_constraint_violations_reflected |
507 | |
| function | test_main_runs_real_test_suite_when_not_skipped |
519 | |
| function | test_main_flaky_hunter_triggered_on_failures |
534 | |
| function | test_main_default_output_path_under_reviews_dir |
552 |