feat: --ai work in progress

This commit is contained in:
nuno maduro
2026-04-03 14:04:20 +01:00
parent ce05ee9aad
commit c1a54df233
5 changed files with 48 additions and 1 deletions

View File

@ -113,6 +113,16 @@ final class TestRepository
$this->testCaseMethodFilters[] = $filter;
}
/**
* Gets the class and traits configured for the given directory path.
*
* @return array<int, string>
*/
public function getUsesForPath(string $path): array
{
return $this->uses[$path][0] ?? [];
}
/**
* Gets the test case factory from the given filename.
*/