Add ability to run individual tests or specified list of tests with `xcodebuild test`

Originator:stephanheilner
Number:rdar://25809715 Date Originated:19-Apr-2016 01:06 PM
Status:Open Resolved:
Product:Xcodebuild Product Version:7.3
Classification: Reproducible:
 
Bug Reporter
Attention
Open3
Hidden
Closed3
Archive3
Drafts
SEARCH

SearchResults
PRODUCTS

Developer Tools2
iOS2
iOS SDK1
iPhone/iPod touch1
Stephan Heilner
stephanheilner@gmail.com
Log out
 NewSearch

Filter Problem List
Sort by Date Originated ▼
25809715Add ability to run individual tests or specified list of tests with `xcodebuild test`
iOS
19-Apr-2016 01:06 PM
Rank : No Value
Summary: I need the ability (outside of a 3rd party tool like xctool) to run a subset of my test within a target across several machines. Currently, you have to manually divide them up into multiple targets, but ideally, you could just specify a list of tests to test with the xcodebuild command it run just those tests, similar to how you would within Xcode. Steps to Reproduce: xcodebuild -project MyProject.xcodeproj -scheme "MyProject" test -only MyProjectUnitTests:TestClass1/test1,TestClass1/test2,TestClass2/test3 Expected Results: Test just the classes or individual test specified Actual Results: Run all all tests within a target. Version: All versions of Xcode Notes: Configuration: Mac OSX Attachments:
25779929`xcodebuild -showBuildSettings` hangs when running multiple instances in parallel
iOS
18-Apr-2016 10:53 AM
Rank : No Value
xcodebuild -showBuildSettings often hangs as well when not run in parallel, just when run independently
18455024Creating a Selection in JavaScript doesn't Show the Selection UI
iOS SDK
25-Sep-2014 09:54 AM
Rank : No Value
Summary: When creating a selection object in JavaScript on iOS, the native selection UI (selection grabbers and blue box) do not appear. We are using UIWebView to render content that the user will annotate. Without the ability to create a selection that triggers the selection UI we are blocked from allowing the user update and adjust their highlights. Steps to Reproduce: http://jsfiddle.net/c6jsa/ Create a javascript Range object, add it to a Selection. Expected Results: The blue selection UI with grabbers appears. (UIWebView enters selection mode) The pre-defined selection Range defines the start/end of the grabbers. Actual Results: Nothing. The only way to enter selection mode is to long press on text. The blue selection UI never shows. Version: All versions of iOS Notes: The desired behavior is to programmatically enter selection mode in UIWebView. Right now, the ONLY way to do that is through a long press gesture on text. Here's a stackoverflow post where others are desiring the same behavior: http://stackoverflow.com/questions/16972655/how-to-programmatically-enter-selection-mode-in-a-uiwebview Configuration: All iOS devices, including simulators Attachments:
25809715 
Add ability to run individual tests or specified list of tests with `xcodebuild test`
State:OpenProduct:iOS
Rank:No Value
Add new information...
Choose FileAttach a fileHide |  Resolved Revert Save
Stephan Heilner19-Apr-2016 01:06 PM

Summary:
I need the ability (outside of a 3rd party tool like xctool) to run a subset of my test within a target across several machines. Currently, you have to manually divide them up into multiple targets, but ideally, you could just specify a list of tests to test with the xcodebuild command it run just those tests, similar to how you would within Xcode.

Steps to Reproduce:
xcodebuild -project MyProject.xcodeproj -scheme "MyProject" test -only MyProjectUnitTests:TestClass1/test1,TestClass1/test2,TestClass2/test3

Expected Results:
Test just the classes or individual test specified

Actual Results:
Run all all tests within a target.

Version:
All versions of Xcode

Notes:


Configuration:
Mac OSX

Attachments:









xcodebuild -showBuildSettings often hangs as well when not run in parallel, just when run independently

Comments


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!