gpt4 book ai didi

unit-testing - Xcode 6.3 缺少单元测试状态/在编辑器中运行

转载 作者:行者123 更新时间:2023-11-28 19:44:35 24 4
gpt4 key购买 nike

我刚刚升级到 Xcode 6.3,但我丢失了显示在编辑器左侧间距中的单元测试状态/运行指示器。在我执行编译和测试 (Ctrl-U) 之前,状态/运行指示器不会立即显示在测试导航器中。测试运行后,测试导航器将显示状态/运行指示器,但永远不会显示编辑器中的状态/运行指示器。

有没有人注意到这一点?我真的需要把这些拿回来。我希望有人知道如何解决这个问题。

提前致谢。

最佳答案

对不起。我以为我已经通读了 Apple 最新的 Xcode 发行说明,但我显然错过了这一部分。无论如何谢谢。

Swift tests are not automatically discovered in this release of Xcode. Test annotations in the source editor sidebar will not appear, and the test navigator and the table of tests in the Test action of the scheme sheet will be empty. You can run Swift tests by selecting Product > Test. Once tests have been run, they appear in the test navigator and the scheme sheet. The following limitations apply:

Tests discovered through execution in this manner provide limited interaction in the test navigator. For example, Run buttons do not appear and clicking on a test in the navigator does not jump to the source code except in the case of a test error. Run buttons and test success/fail indicators will not appear in the source editor. (20373533)

关于unit-testing - Xcode 6.3 缺少单元测试状态/在编辑器中运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29574306/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com