welltestedGenerator function

Builder welltestedGenerator(
  1. BuilderOptions options
)

Implementation

Builder welltestedGenerator(BuilderOptions options) {
  ///TODO: Clean this code
  Map<String, String> possiblePaths = {};
  List.generate(100, (index) => index).forEach(
      (e) => possiblePaths['lib/{{$e}}.dart'] = 'test/{{$e}}/$e.wt.dart');
  return LibraryBuilder(WelltestedGenerator(),
      generatedExtension: ".wt.dart",
      allowSyntaxErrors: true,
      options: BuilderOptions({"build_extensions": possiblePaths}));
}