Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我的应用程序中,我使用 KIF 框架进行测试。现在对于我班上的所有测试用例,我想生成包含所有用例及其结果的文件。如何做到这一点?
打开终端运行以下命令
须藤安装 ocunit2junit
然后移动项目文件夹(cd 项目路径)并运行以下命令
xcodebuild test -workspace appName.xcworkspace -scheme schemName -destination 'platform=iOS,id=deviceID' 2>&1|ocunit2junit