faster_driver

Last updated:

0 purchases

faster_driver Image
faster_driver Images
Add to Cart

Description:

faster driver

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
copied to clipboard
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
copied to clipboard
Or clone the repo and active the script:
flutter pub global activate -s path .
copied to clipboard
Run the command by passing the root of your existing integration tests:
cd example
fasterdriver ./integration_test
copied to clipboard
Now run your tests:
flutter drive --driver=test_driver/integration_test.dart --target=integration_test/main_tests.dart
copied to clipboard

License:

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

Files In This Product:

Customer Reviews

There are no reviews.