Orchestrata Ultimate › Tests › Reference › test_orchestrata_tools_matcher

Tests reference — tests/test_orchestrata_tools_matcher.py

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

Prose pending.

tests/test_orchestrata_tools_matcher.py

source · 9 tests · 292 lines

Branch-coverage tests for orchestrata_tools.test_analyzer.matcher.

Kind Name Line Description
class TestBuildIndexBranches 121 Branches in TestMatcher._build_index the real ASTs never produce.
method TestBuildIndexBranches.test_plain_import_records_capitalized_path_parts 124
method TestBuildIndexBranches.test_module_level_test_function_calls_indexed 136
class TestIsImportedFallback 150 is_imported before any BodyMatcher has been constructed.
method TestIsImportedFallback.test_returns_false_without_body_matcher 153
class TestMatchesCacheEviction 172 The identity-keyed matches cache is bounded to _MATCHES_CACHE_MAX.
method TestMatchesCacheEviction.test_oldest_entry_evicted_beyond_max 175
method TestMatchesCacheEviction.test_cache_hit_returns_fresh_copy 190
class TestStrategy4bShortParts 216 Compound parts of length <= 2 are skipped before substring matching.
method TestStrategy4bShortParts.test_short_part_skipped_long_part_substring_matches 219
class TestStrategy6PrefixStripped 237 Top-level prefix-stripped match (test_<class>_<method> convention).
method TestStrategy6PrefixStripped.test_prefix_stripped_match 240
class TestStrategy8EmptyTarget 267 An empty target name is a substring of every long source name.
method TestStrategy8EmptyTarget.test_empty_target_matches_all_long_names 270
class TestMethodKey 285
method TestMethodKey.test_delegates_to_fully_qualified_name 286