Closed hongdangodori closed 7 years ago
when I run test with .xctestrun file. it has UnitTest and UITest. I run only UnitTests. But, output is NilError. What did I do wrong?
I did
xcodebuild \ -derivedDataPath "$PWD/derivedData" \ -scheme 'MyApp' \ -workspace 'MyApp.xcworkspace' \ -destination 'platform=iOS Simulator,name=iPhone 7 Plus,OS=10.3' \ build-for-testing
and
pxctest \ run-tests \ --testrun derivedData/Build/Intermediates/CodeCoverage/Products/MyApp_iphonesimulator10.3-x86_64.xctestrun \ --destination 'name=iPhone 5,os=iOS 10.3' \ --destination 'name=iPhone 6,os=iOS 10.3' \ --only UnitTests
Hi hongdangodori , I am seeing the same nilError. How did you fix it?
when I run test with .xctestrun file. it has UnitTest and UITest. I run only UnitTests. But, output is NilError. What did I do wrong?
I did
and