build_verify 3.1.0 copy "build_verify: ^3.1.0" to clipboard
build_verify: ^3.1.0 copied to clipboard

Test utility to ensure generated Dart code within a package is up-to-date when using package:build.

Pub

Test utility to ensure generated Dart code within a package is up-to-date when using package:build.

Usage #

Assuming your package is already configured to use package:build_runnerpub run build_runner build succeeds – then simply add a unit test to the test directory.

For example: test/ensure_build_test.dart containing:

import 'package:build_verify/build_verify.dart';
import 'package:test/test.dart';

void main() {
  test('ensure_build', expectBuildClean);
}
49
likes
160
pub points
95%
popularity

Publisher

verified publisherkevmoo.com

Test utility to ensure generated Dart code within a package is up-to-date when using package:build.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

io, path, test

More

Packages that depend on build_verify