faster_driver 0.0.3 copy "faster_driver: ^0.0.3" to clipboard
faster_driver: ^0.0.3 copied to clipboard

outdated

Script(s) to improve Integration Tests. Allows merging all the Integration tests into one file to run all tests at once

0.0.3 #

  • Allowing passing arguments and template In case you want to pass specyfic arguments to your tests, now you can do it. You can specyfi the template of main_tests.dart file by passing template file via --template option. An exmaple of template could look like this:
#{{main-body}} =   {{import-name}}.main(args);
// ignore_for_file: directives_ordering
/// This file is autogenerated and should not be committed
/// to source control
import 'package:integration_test/integration_test.dart';
import 'package:test_utils/test_utils.dart';
{{imports}}

void main() {
  final List<String> args = {{arguments}};
  IntegrationTestWidgetsFlutterBinding.ensureInitialized();
{{main-body}}
}

The {{main-body}} is a list of your test files and on the top of the file you declare how one line should look like - in this case we are passing args to every test file so it could use the arguments that we passed to fasterdriver via --test-args option.

0.0.2+1 #

  • Updating documentation

0.0.2 #

  • Improving successful messages

0.0.1 #

  • Initial release
1
likes
0
points
30
downloads

Publisher

verified publishertomek-polanski.com

Weekly Downloads

Script(s) to improve Integration Tests. Allows merging all the Integration tests into one file to run all tests at once

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

args, cli_util, path

More

Packages that depend on faster_driver