Orchestrata Ultimate › Tests › Reference › scripts › test_ast_analyze
Tests reference — tests/scripts/test_ast_analyze.py
Module of tests/scripts, split out because the directory page would be too large.
Prose pending.
tests/scripts/test_ast_analyze.py
source · 14 tests · 343 lines
Tests for the code-health + generation subcommands of the AST tool:
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_complexity_counts_branches |
43 | |
| function | test_complexity_sorted_descending |
62 | |
| function | test_complexity_footer_reports_true_total_without_top |
86 | |
| function | test_complexity_footer_reports_true_total_with_top_truncation |
106 | |
| function | test_interface_emits_protocol_for_public_methods |
138 | |
| function | test_interface_returns_none_for_missing_class |
156 | |
| function | test_interface_preserves_property_static_classmethod_decorators |
162 | @property / @staticmethod / @classmethod change a method's structural |
| function | test_cli_interface_default_kind_is_byte_identical_to_prior_behavior |
203 | Pin: the interface CLI without --kind (the --kind protocol |
| function | test_cli_interface_kind_protocol_explicit_matches_default |
227 | |
| function | test_cli_interface_kind_abc_emits_abc_instead_of_protocol |
259 | |
| function | test_cli_interface_kind_abc_missing_class_errors_like_protocol |
283 | |
| function | test_docs_includes_classes_functions_and_docstrings |
306 | |
| function | test_diagram_class_emits_inheritance_edges |
328 | |
| function | test_diagram_deps_emits_graph |
340 |