integration_test

Tests written with the integration_test package can:

Run directly on the target device, allowing you to test on
multiple Android or iOS devices using Firebase Test Lab.

Run using flutter test integration_test.

Use flutter_test APIs, making integration tests more
like writing widget tests.

Migrating from flutter_driver

Existing projects using flutter_driver can be migrated to
integration_test by following the Migrating from flutter_drive
guide.

Project setup

Add integration_test and flutter_test to your pubspec.yaml file:

dev_dependencies

integration_test

sdk

flutter

flutter_test

sdk

flutter

In your project, create a new directory
integration_test/ with a new file, <name>_test.dart: