Orchestrata Ultimate › Tests › Reference › orchestrator › impact
Tests reference — tests/orchestrator/impact
tests/orchestrator/impact — 4 test modules, 63 test functions. Source tree: tests/orchestrator/impact at commit 8a2cb42ad. Generated from the tests AST snapshot by scripts/gen-data-pages.py.
Prose pending.
Modules
| Module | Tests | Covers |
|---|---|---|
test_analyzer.py |
12 | 2 |
test_classifier.py |
28 | 2 |
test_cli.py |
8 | 2 |
test_types.py |
15 | 1 |
Module details
tests/orchestrator/impact/test_analyzer.py
source · 12 tests · 123 lines
Tests for orchestrator.impact.analyzer.
Covers: orchestrator.impact.analyzer, orchestrator.impact.types
| Kind | Name | Line | Description |
|---|---|---|---|
| class | TestIntentImpactAnalyzer |
33 | |
| method | TestIntentImpactAnalyzer.test_analyze_feature_intent |
38 | |
| method | TestIntentImpactAnalyzer.test_analyze_bugfix_intent |
44 | |
| method | TestIntentImpactAnalyzer.test_analyze_refactor_intent |
48 | |
| method | TestIntentImpactAnalyzer.test_analyze_new_requirement_intent |
52 | |
| method | TestIntentImpactAnalyzer.test_analyze_new_spec_intent |
56 | |
| method | TestIntentImpactAnalyzer.test_calculate_severity_critical |
60 | |
| method | TestIntentImpactAnalyzer.test_calculate_severity_high |
69 | |
| method | TestIntentImpactAnalyzer.test_calculate_severity_medium |
78 | |
| method | TestIntentImpactAnalyzer.test_calculate_severity_low |
87 | |
| method | TestIntentImpactAnalyzer.test_build_scope |
96 | |
| method | TestIntentImpactAnalyzer.test_build_scope_no_target |
117 | |
| method | TestIntentImpactAnalyzer.test_close |
122 |
tests/orchestrator/impact/test_classifier.py
source · 28 tests · 238 lines
Covers: orchestrator.impact.classifier, orchestrator.impact.types
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_requirement_keywords_non_empty |
41 | |
| function | test_feature_keywords_non_empty |
45 | |
| function | test_bugfix_keywords_non_empty |
49 | |
| function | test_refactor_keywords_non_empty |
53 | |
| function | test_spec_keywords_non_empty |
57 | |
| function | test_entity_patterns_non_empty |
61 | |
| function | test_classifier_init |
70 | |
| function | test_classify_requirement |
80 | |
| function | test_classify_feature |
87 | |
| function | test_classify_bugfix |
94 | |
| function | test_classify_refactor_beats_incidental_feature_verb |
101 | |
| function | test_classify_refactor |
109 | |
| function | test_classify_spec |
116 | |
| function | test_classify_unknown |
123 | |
| function | test_score_intent_types_empty |
135 | |
| function | test_score_intent_types_multiple_keywords |
142 | |
| function | test_extract_entities_file |
154 | |
| function | test_extract_entities_class |
161 | |
| function | test_extract_entities_function |
167 | |
| function | test_extract_entities_package |
173 | |
| function | test_extract_package_orchestrata |
185 | |
| function | test_extract_package_generic |
190 | |
| function | test_extract_package_none |
195 | |
| function | test_extract_module_from_text |
205 | |
| function | test_extract_module_none |
210 | |
| function | test_extract_keywords_found |
220 | |
| function | test_extract_keywords_empty |
228 | |
| function | test_extract_keywords_max_ten |
234 |
tests/orchestrator/impact/test_cli.py
source · 8 tests · 195 lines
Tests for orchestrator.impact.cli helper functions.
Covers: orchestrator.impact.cli, orchestrator.impact.types
| Kind | Name | Line | Description |
|---|---|---|---|
| class | TestMain |
46 | Behavioral tests for the main() CLI entry point. |
| method | TestMain.test_main_no_args_prints_usage_and_exits |
60 | |
| method | TestMain.test_main_full_flow_prints_all_sections |
68 | |
| class | TestPrintClassification |
83 | |
| method | TestPrintClassification.test_print_classification |
84 | |
| method | TestPrintClassification.test_print_classification_no_target |
104 | |
| class | TestPrintScope |
117 | |
| method | TestPrintScope.test_print_scope |
118 | |
| class | TestPrintPlan |
142 | |
| method | TestPrintPlan.test_print_plan_with_branches |
143 | |
| method | TestPrintPlan.test_print_plan_none |
170 | |
| class | TestPrintJson |
183 | |
| method | TestPrintJson.test_print_json |
184 |
tests/orchestrator/impact/test_types.py
source · 15 tests · 259 lines
Covers: orchestrator.impact.types
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_intent_type_values |
48 | |
| function | test_impact_severity_values |
56 | |
| function | test_breaking_type_values |
61 | |
| function | test_intent_classification_to_dict |
71 | |
| function | test_dependency_chain_defaults |
94 | |
| function | test_impact_scope_to_dict |
106 | |
| function | test_class_interface_defaults |
130 | |
| function | test_function_interface_defaults |
137 | |
| function | test_interface_contract_defaults |
144 | |
| function | test_breaking_change_to_dict |
155 | |
| function | test_interface_verification_to_dict |
176 | |
| function | test_interface_verification_to_dict_none_contract |
190 | |
| function | test_agent_task_to_dict |
202 | |
| function | test_parallel_plan_to_dict |
216 | |
| function | test_impact_report_to_dict |
248 |