我正在使用以下命令在 iOS 设备上运行 XCTest UI 自动化:
xcodebuild build-for-testing test \
.... \
-resultBundlePath TestResults | xcpretty
我按照Allure + XCTest集成教程从xcresult文件生成allure报告。当我提供诱惑结果时,屏幕截图不会呈现,尽管它们作为附件存在。我已附上当前附件的屏幕截图如下
我们需要进行额外的处理才能看到截图吗?
注意:我已经确认
xcodebuild
生成的.xcresult文件没有问题,因为当在xcode中打开它时,我可以正确看到屏幕截图。