Checks whether a test file already exists for the given test path.
bool hasTestFile(String testPath) { return File(testPath).existsSync(); }