Skip to content

scd test

Builds and runs the test suite of an SPM project on the specified platform. On Android, an APK containing the test bundle is built and deployed to a connected device or emulator.

scd test [options]
OptionDescription
-p, --pathPath to the SPM project. Defaults to current directory
-c, --configurationBuild configuration: Debug (default) or Release
--platformTarget platform. See Platforms
--verboseEnable verbose output

All commands also accept Global Options.

Terminal window
# Run tests for macOS
scd test
# Run tests for Android
scd test --platform android-arm64-v8a