TestSmith constructor

TestSmith(
  1. String projectRoot, {
  2. AiTestGenerator? aiGenerator,
})

Implementation

TestSmith(this.projectRoot, {this.aiGenerator})
    : parser = DartAstParser(),
      pathMapper = PathMapper(projectRoot),
      scanner = ProjectScanner(projectRoot) {
  _packageName = _readPackageName();
}