Android:
JUnit tests can be found in android/src/test/.
      
      
        iOS and macOS:
XCTest tests can be found in  example/ios/RunnerTests/
and example/ios/RunnerTests/` respectively.
These are in the example directory,
not the top-level package directory,
because they are run via the example app’s project.
      
      
        Linux and Windows:
GoogleTest tests can be found in linux/test/
and windows/test/, respectively.

Other types of tests, which aren’t currently pre-configured
in the template, are native UI tests.
Running your application under a native UI testing framework,
such as Espresso or XCUITest,
enables tests that interact with both native and Flutter UI elements,
so can be useful if your plugin can’t be tested without
native UI interactions.

Running tests

Dart unit tests