generator_test 0.3.0 generator_test: ^0.3.0 copied to clipboard
A library to help test generators and build runner packages using dart files instead of Strings
import 'package:generator_test/generator_test.dart';
import './fake_generator.dart';
void main() async {
const generator = SuccessGenerator(
['input.dart'],
['input.g.dart'],
fakeGenerator,
partOfFile: 'input.dart',
);
await generator.test();
}