
- Set exported proguard rules for consumers of integration_test using AGP 8.0 - Updated proguard usage in example to test setting custom proguard rules works. #127388 Documentation for how consumerProguardFiles works. https://developer.android.com/studio/projects/android-library#Considerations Unknown why we had to use ** instead of matching exactly.
integration_test_example
Demonstrates how to use the package:integration_test
.
To run integration_test/example_test.dart
,
Android / iOS
flutter drive \
--driver=test_driver/integration_test.dart \
--target=integration_test/example_test.dart
Web
In one shell, run Chromedriver (download here):
chromedriver --port 8444
Then, in another shell, run flutter drive
:
flutter drive \
--driver=test_driver/integration_test.dart \
--target=integration_test/example_test.dart \
-d web-server