build_verify

Creator: coderz1093

Last updated:

0 purchases

build_verify Image
build_verify Images

Languages

Categories

Add to Cart

Description:

build verify

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_runner –
pub 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);
}
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.