[xcodebuild] Add a feature for running unit tests only or UI tests only

Number:rdar://32614779 Date Originated:June 7 2017, 10:55 PM
Status:Closed Resolved:June 16 2017, 1:48 AM
Product: Product Version:
Classification: Reproducible:
`xcodebuild` command can run unit tests and UI Tests of a specified scheme via `xcodebuild test`
And it runs all of them.
But it seems that there are no way to run unit tests only or UI tests only.
It would be more flexible if xcodebuild can do that.

See this:

fastlane's `snapshot` uses xcodebuild to take snapshots. But xcodebuild can't.
Unless xcodebuild implements this feature, the above issue will not be solved.


Sorry for my ignorance. Xcode already has this feature as -only-testing. I'll close this issue.

By mshibanami at June 15, 2017, 5:21 p.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!