It is now possible with Xcode 8 using the -only-testing
parameter with xcodebuild
:
xcodebuild test -workspace <path>
-scheme <name>
-destination <specifier>
-only-testing:TestBundle/TestSuite/TestCase
More Related Contents:
- Xcode 7 UI Testing: how to dismiss a series of system alerts in code
- When do app sources need to be included in test targets?
- .NET Unit test runner for iOS
- Libraries not found when using CocoaPods with iOS logic tests
- XCTest and asynchronous testing in Xcode 6
- How to detect if iOS app is running in UI Testing mode
- Changed +load method order in Xcode 7
- Xcode UI Testing Error keyboard
- iOS – ‘MyProject-Swift.h’ file not found when running Unit Tests for Swift
- How to tap on a specific point using Xcode UITests
- How do I size a UITextView to its content?
- How do I check when a UITextField changes?
- Conditional Binding: if let error – Initializer for conditional binding must have Optional type
- Find out if Character in String is emoji?
- UIWebView open links in Safari
- How to detect if app is being built for device or simulator in Swift
- Error: “The sandbox is not in sync with the Podfile.lock…” after installing RestKit with cocoapods
- How can I launch the Google Maps iPhone application from within my own native application?
- iOS UITextView or UILabel with clickable links to actions [duplicate]
- Monotouch/WCF: How to consume the wcf service without svcutil
- How can I prompt the user to turn on location services after user has denied their use
- Xcode – Error creating LLDB target
- Xcode 10 (iOS 12) does not contain libstdc++6.0.9
- Since Xcode 8 and iOS10, views are not sized properly on viewDidLayoutSubviews
- How to change UITableViewRowAction title color?
- iOS 10 bug: UICollectionView received layout attributes for a cell with an index path that does not exist
- iOS – Delayed “Touch Down” event for UIButton in UITableViewCell
- iOS Segue – Left to Right –
- SBStatusBarController instance
- swift invalidate timer doesn’t work