Test
test
Runs all the tests and report status to GitHub.
bundle exec fastlane test
Environment Variables
| Variable |
|---|
APP_SCHEME |
Details
What it does
- Installs dependencies (
dependenciesprivate lane):- Selects Xcode version if
XCODE_VERSIONis set - Runs
pod installif aPodfileexists
- Selects Xcode version if
- Generates GraphQL operations if
APOLLO_CODEGEN_CONFIG_PATHis set - Runs all unit and UI tests via
run_tests(scan)
Customizing test settings
Override default test settings by setting ADDITIONAL_TESTS_SETTINGS in your project's Fastfile:
ENV["ADDITIONAL_TESTS_SETTINGS"] = {
destination: "platform=iOS Simulator,name=iPhone 15"
}.to_json
See Helpers for default test configuration.