tree: 0b6cfc4f2b09dd4bf65f8df19be2e23506cce54c [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.