MCPcopy Create free account
hub / github.com/bhowiebkr/PyFlowGraph / categorize_test

Method categorize_test

testing/test_runner.py:225–234  ·  view source on GitHub ↗

Categorize test based on its path and name.

(self, test_name: str)

Source from the content-addressed store, hash-verified

223 )
224
225 def categorize_test(self, test_name: str) -> str:
226 """Categorize test based on its path and name."""
227 if "gui" in test_name.lower():
228 return "gui"
229 elif "headless" in test_name.lower():
230 return "headless"
231 elif "integration" in test_name.lower():
232 return "integration"
233 else:
234 return "unit"
235
236 def analyze_performance(self, results: List[TestResult]) -> Dict[str, float]:
237 """Analyze test performance and identify bottlenecks."""

Callers 1

parse_test_resultsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected