tree: 14001a2429643891a056eb8b2608cfe0e5858a5d [path history] [tgz]
  1. integration_test/
  2. lib/
  3. test_driver/
  4. web/
  5. .gitignore
  6. .metadata
  7. pubspec.yaml


An example for the PointerInterceptor widget.

Getting Started

flutter run -d chrome to run the sample. You can tweak some code in the lib/main.dart, but be careful, changes there can break integration tests!

Running tests

flutter drive --target integration_test/widget_test.dart --driver test_driver/integration_test.dart --show-web-server-device -d web-server --web-renderer=html

The command above will run the integration tests for this package.

Make sure that you have chromedriver running in port 4444.

Read more on: > Docs > Testing & debugging > Integration testing.