plu / pxctest

Execute tests in parallel on multiple iOS Simulators
MIT License
800 stars 57 forks source link

run-tests UnitTest doesn't work #35

Closed hongdangodori closed 7 years ago

hongdangodori commented 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
ipavan1217 commented 7 years ago

Hi hongdangodori , I am seeing the same nilError. How did you fix it?