Initialize test dispatcher with available runners.
(self)
| 32 | """Main test dispatcher that routes tests to appropriate runners.""" |
| 33 | |
| 34 | def __init__(self): |
| 35 | """Initialize test dispatcher with available runners.""" |
| 36 | self.runners = { |
| 37 | TestType.END_TO_END: EndToEndTestRunner(), |
| 38 | TestType.SITE_RETRIEVAL: SiteRetrievalTestRunner(), |
| 39 | TestType.QUERY_RETRIEVAL: QueryRetrievalTestRunner() |
| 40 | } |
| 41 | |
| 42 | async def run_test_file(self, file_path: str, test_type: TestType | None = None) -> dict[str, Any]: |
| 43 | """ |
nothing calls this directly
no test coverage detected