tree: 54ae710df109794c2180cd1988b2e6ee11090ea0 [path history] [tgz]
  1. lib/
  2. meta/
  3. test/
  4. analysis_options.yaml
  5. BUILD.gn
  6. pubspec.yaml
  7. README.md
examples/test/driver_example_mod/README.md

The Flutter Driver example mod

This is a very simple mod intended to be used with flutter driver testing scripts.

It contains four buttons that all modify a counter.

Building

To add the example (with the Flutter Driver Extensions enabled for driving the mod), run the following:

$ fx set core.[chromebook-][x64|arm64] --with //topaz/examples/test/driver_example_mod:driver_example_mod_tests --with //topaz/bundles:buildbot

This will include the package and its dependencies with the topaz build when you run

$ fx build
$ fx serve

Testing

You can then run these tests using the following command:

$ fx run-test driver_example_mod_tests