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.
Synopsis
Section titled “Synopsis”scd test [options]Options
Section titled “Options”| Option | Description |
|---|---|
-p, --path | Path to the SPM project. Defaults to current directory |
-c, --configuration | Build configuration: Debug (default) or Release |
--platform | Target platform. See Platforms |
--verbose | Enable verbose output |
All commands also accept Global Options.
Examples
Section titled “Examples”# Run tests for macOSscd test
# Run tests for Androidscd test --platform android-arm64-v8a