In my application I am using KIF framework for testing. Now for all test cases in my class I want to generated file with all cases and their result. How to achieve this?
open Terminal run the following command
sudo install ocunit2junit
then move project folder (cd project path) and run following command
xcodebuild test -workspace appName.xcworkspace -scheme schemName -destination 'platform=iOS,id=deviceID' 2>&1|ocunit2junit
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.