hasTestFile method

bool hasTestFile(
  1. String testPath
)

Checks whether a test file already exists for the given test path.

Implementation

bool hasTestFile(String testPath) {
  return File(testPath).existsSync();
}