To run the tests from the command line,
use the following command in the example/ios (for iOS)
or example/macos (for macOS) directory:

test

workspace Runner.xcworkspace

scheme Runner

configuration Debug

For iOS tests, you might need to first open
Runner.xcworkspace in Xcode to configure code signing.

Linux GoogleTest

To run the tests from the command line,
use the following command in the example directory,
replacing “my_plugin” with your plugin project name:

If you built the example app in release mode rather than
debug, replace “debug” with “release”.

Windows GoogleTest

If you have the example app opened in Visual Studio,
you can run the unit tests using the Visual Studio test UI.

To run the tests from the command line,
use the following command in the example directory,
replacing “my_plugin” with your plugin project name: