Running tests

Dart unit tests

These can be run like any other Flutter unit tests,
either from your preferred Flutter IDE,
or using flutter test.

Integration tests

For information on running this type of test, check out the
integration test documentation.
The commands must be run in the example directory.

Native unit tests

For all platforms, you need to build the example
application at least once before running the unit tests,
to ensure that all of the platform-specific build
files have been created.

Android JUnit

If you have the example opened as an Android project
in Android Studio, you can run the unit tests using
the Android Studio test UI.

To run the tests from the command line,
use the following command in the example/android directory:

iOS and macOS XCTest

If you have the example app opened in Xcode,
you can run the unit tests using the Xcode Test UI.