MCPcopy Create free account
hub / github.com/FastLED/FastLED / TestMatch

Class TestMatch

ci/util/smart_selector.py:18–28  ·  view source on GitHub ↗

Represents a matched test or example.

Source from the content-addressed store, hash-verified

16
17@dataclass
18class TestMatch:
19 """Represents a matched test or example."""
20
21 name: str # Test/example name (e.g., "string", "Animartrix")
22 path: str # Relative path from project root
23 type: str # "unit_test" or "example"
24 score: float # Match score (0.0-1.0, higher is better)
25 length: int = 0 # Length for tie-breaking (shorter is better)
26 hpp_filter: Optional[str] = (
27 None # Optional .hpp filename filter (e.g., "backbeat.hpp")
28 )
29
30
31def _apply_hpp_filter(

Callers 3

_find_unit_testsFunction · 0.85
_find_examplesFunction · 0.85
_find_aggregator_matchesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected