How to use xcodebuild with -only-testing and -skip-testing flag?

后端 未结 5 1907
误落风尘
误落风尘 2020-12-15 06:52

I\'ve noticed that there are two options in xcodebuild\'s man page.

-only-testing:TEST-IDENTIFIER       

constr

5条回答
  •  渐次进展
    2020-12-15 07:15

    In case you need to include several tests:

    xcodebuild -project Some.xcodeproj \
    -scheme AllTests -only-testing:PersistenceTests -only-testing:FoundationTests test
    

    Documentation:

    An xcodebuild command can combine multiple constraint options, but -only-testing: has precedence over -skip-testing:.

提交回复
热议问题