Orchestrata Ultimate › Tests › Reference › scripts › test_ast_main_cli

Tests reference — tests/scripts/test_ast_main_cli.py

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

Prose pending.

tests/scripts/test_ast_main_cli.py

source · 54 tests · 1435 lines

Coverage-wave tests for the main() CLI dispatcher of the AST tool

Kind Name Line Description
function test_no_command_prints_help_and_exits_1 131
function test_serialize_missing_source_exits_1 145
function test_compare_two_serialized_asts 169
function test_check_deps_all_declared_is_ok 230
function test_check_deps_missing_undeclared_exits_1_and_writes_report 253
function test_refs_reports_definitions_imports_and_uses 285
function test_rename_dry_run_prints_diff_and_rerun_hint 302
function test_interface_stdout_and_output_file 330
function test_interface_class_not_found_exits_2 348
function test_interface_kind_abc_emits_abc_instead_of_protocol 357
function test_docs_stdout_and_output_file 373
function test_diagram_stdout_and_output_file 392
function test_branches_lists_decision_points_across_module 425
function test_gen_tests_stdout_and_output_file 440
function test_audit_reports_bare_except_finding 473
function test_pattern_generate_stdout_and_output_file 493
function test_pattern_in_place_dry_run_then_write 525
function test_pattern_in_place_not_found_exits_2 569
function test_pattern_split_dry_run_then_write 582
function test_long_params_reports_widget_compute 623
function test_gen_dto_stdout_and_output_file 638
function test_gen_dto_not_found_exits_2 658
function test_gen_enum_stdout_and_output_file 672
function test_gen_enum_import_prefix_flag_overrides_traces_import 710
function test_gen_volk_stdout_emits_scaffold 736
function test_gen_volk_import_prefix_flag_overrides_all_three_imports 757
function test_gen_protocol_stdout_and_output_file 792
function test_gen_protocol_not_found_exits_2 827
function test_gen_skeleton_empty_diagram_exits_2 842
function test_gen_serde_generate_stdout_and_output_file 856
function test_gen_serde_check_reports_unverifiable 881
function test_gen_serde_no_name_without_check_errors 906
function test_extract_method_dry_run_then_apply 920
function test_extract_method_bad_range_exits_2 962
function test_inline_dto_param_dry_run_then_apply 989
function test_debug_insert_entry_dry_run_then_apply_then_clear 1039
function test_debug_at_line_requires_line_number 1076
function test_debug_non_line_mode_requires_name 1085
function test_debug_at_line_inserts_breakpoint 1094
function test_who_imports_finds_import_site 1121
function test_attr_refs_reports_call_and_attr_sites 1136
function test_add_trace_list_only 1163
function test_add_trace_dry_run_then_apply 1173
function test_move_symbol_dry_run_reports_importer 1194
function test_move_symbol_not_found_exits_2 1209
function test_extract_class_dry_run_reports_rerun_hint 1227
function test_extract_class_invalid_new_name_exits_2 1250
function test_extract_class_method_not_found_exits_2 1272
function test_call_graph_reports_callers_and_callees 1300
function test_call_graph_not_found_exits_2 1311
function test_dead_params_reports_unused_parameter 1325
function test_check_traces_reports_dangling_and_malformed 1340
function test_ast_to_kg_deprecated_neo4j_flags_print_warning 1389
function test_ast_to_kg_graph_flags_no_deprecation_warning 1418