Xcode 5表示测试失败但显示绿色复选标记 [英] Xcode 5 says tests failed but shows green checkmarks
问题描述
我在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屋!