Test output missing when running from xcodebuild
| Originator: | jbernal | ||
| Number: | rdar://25409441 | Date Originated: | 29-Mar-2016 11:32 AM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Xcode 7.3 (7D175) |
| Classification: | UI/Usability | Reproducible: | Always |
Summary: When tests are run from the command line, there's no information about which tests are being run and which failed. This is also true when running from Xcode and looking at the console. In Xcode 7.2 the console would also output the list of tests as they ran. This seems project-specific, as running xcodebuild on other projects works fine. Steps to Reproduce: I haven't been able to create a minimal project to reproduce but you can reproduce with this: sudo gem install cocoapods # If necessary git clone --depth 1 --branch issue/5004 https://github.com/wordpress-mobile/WordPress-iOS.git wpios-xctest-output cd wpios-xctest-output pod install xcodebuild -destination 'platform=iOS Simulator,name=iPhone 6' -workspace WordPress.xcworkspace -scheme WordPress -sdk iphonesimulator -configuration Debug clean build test Expected Results: xcodebuild should show which tests are being run, and which test has failed Actual Results: xcodebuild shows the console output from the app and a '** TEST FAILED **' at the end Version: Xcode 7.3 (7D175) Notes: Configuration: Attachments:
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!