Migrating from flutter_driver

Starter example project

Existing tests

Setup

Test migration

Example: Verifying a widget is displayed
Example: Tap actions
Example: Scrolling

This page describes how to migrate an existing project using
flutter_driver to the integration_test package,
in order to run integration tests.

Tests with integration_test use the same methods that are
used in widget testing.

For an introduction to the integration_test package,
check out the Integration testing guide.

Starter example project

The project in this guide is a small example desktop application with this
functionality:

On the left, there’s a list of plants that the user can scroll,
tap and select.

On the right, there’s a details screen that displays the plant name
and species.