Running XCTests
scd can automatically build, deploy, and run XCTest suites on an Android device or emulator. This is done with the test command.
The test command builds an Android Test APK containing the test bundle, installs it on the target device, launches it, and streams test output until the suite completes.
test accepts the same SPM Build Options and Libraries Options as build and archive.
Running Tests
Section titled “Running Tests”To run the test suite on a connected Android device or emulator:
scd test --platform android-arm64-v8aTo run on a specific device:
scd test --platform android-arm64-v8a --device emulator-5554See Selecting Android Device for details on device selection.