summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlapinskijw <jlapinski.dev@gmail.com>2020-07-08 12:14:52 -0400
committerlapinskijw <jlapinski.dev@gmail.com>2020-07-08 12:14:52 -0400
commitd430b1381dc73267c53a053ad12cb80aab3fe75c (patch)
treee309c2308231ae701fc93a414ae251a42dbb2dbc
parentcba7cda3f0fa15e5522cc5d67cf72b2bcab56050 (diff)
downloadsdl_ios-bugfix/issue-1703-local-tests-description.tar.gz
updated local tests descriptionbugfix/issue-1703-local-tests-description
-rw-r--r--README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index 55b24f4ac..69d85ed3a 100644
--- a/README.md
+++ b/README.md
@@ -156,7 +156,9 @@ cd ../
At this point, you can run tests from Xcode, or, if you wish to run the tests exactly as they will be run on the CI server, run:
```bash
-xcodebuild -project "SmartDeviceLink-iOS.xcodeproj" -scheme "SmartDeviceLink" -sdk "iphonesimulator10.0" -destination "OS=10.0,name=iPhone 7" -configuration Debug ONLY_ACTIVE_ARCH=NO RUN_CLANG_STATIC_ANALYZER=NO GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES ENABLE_TESTABILITY=YES test
+xcodebuild build-for-testing -project SmartDeviceLink-iOS.xcodeproj -destination platform=iOS Simulator,name=iPhone 11,OS=13.5 -scheme SmartDeviceLink
+
+set -o pipefail && xcodebuild test-without-building -project SmartDeviceLink-iOS.xcodeproj -destination platform=iOS Simulator,name=iPhone 11,OS=13.5 -scheme SmartDeviceLink -configuration Debug ONLY_ACTIVE_ARCH=NO RUN_CLANG_STATIC_ANALYZER=NO GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES ENABLE_TESTABILITY=YES
```
You can optionally pipe the result to [xcpretty](https://github.com/supermarin/xcpretty).