使用 Xcode 将单元测试结果导出到文件中 [英] Export unit test result into a file with Xcode

查看:108
本文介绍了使用 Xcode 将单元测试结果导出到文件中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法在 Xcode 中自动保存单元测试结果?

Is there a way to automate the saving of the unit test results in Xcode?

每次运行时我都想将它们保存到一个文件夹中

I'd like to save them into a folder each time I run them

谢谢

推荐答案

您可能希望完全自动化测试.这并不容易,但是 一个黑客 可以为你做到这一点.然后,您可以简单地将输出通过管道传输到文件.

You'd probably want to automate the testing altogether. This isn't easy, but a hack can do this for you. You can then simply pipe the output to a file.

这篇关于使用 Xcode 将单元测试结果导出到文件中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆