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

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

Faster Driver #

Script that merges all new Flutter Driver (Integration) tests so they can be run with a single command.

Merging all test into one file #

If you merge all main methods into one file you can run all your tests with one command:

flutter drive --driver=test_driver/integration_test.dart --target=integration_test/main_tests.dart

You can create main_tests.dart manually or use this script to look for all the test files and create the file.

Usage #

Use pub.dev version:

flutter pub global activate faster_driver

Or clone the repo and active the script:

flutter pub global activate -s path .

Run the command by passing the root of your existing integration tests:

cd example
fasterdriver ./integration_test

Now run your tests:

flutter drive --driver=test_driver/integration_test.dart --target=integration_test/main_tests.dart
1
likes
140
points
48
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

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

args, cli_util, path

More

Packages that depend on faster_driver