Xcode 5表示测试失败但显示绿色复选标记 [英] Xcode 5 says tests failed but shows green checkmarks

查看:83
本文介绍了Xcode 5表示测试失败但显示绿色复选标记的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Xcode 5的新XCTest框架中编写了一些单元测试。

I have written a few unit tests in the new XCTest framework of Xcode 5.

测试似乎大部分时间成功通过,但我来了跨越一个奇怪的行为,如果我连续多次运行测试,最终我会得到一个'测试失败'消息,控制台将显示程序以退出代码0结束,但是在所有测试旁边都有绿色选中标记。

The tests seem to pass successfully most of the time, but I've come across a strange behaviour where if I run the tests enough times consecutively, eventually I'll get a 'test failed' message and the console will show Program ended with exit code 0, but there are green checkmarks beside all the tests.

这里出了什么问题?

推荐答案

这绝对是个错误。通过 https://bugreport.apple.com/ 提交报告,随时可以参考我的报告(15251050)。

This is definitely a bug. Submit a report via https://bugreport.apple.com/ feel free to reference my report (15251050).

这篇关于Xcode 5表示测试失败但显示绿色复选标记的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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