有没有其他人注意到这一点?我真的需要把它们拿回来.我希望有人知道如何解决这个问题.
提前致谢.
解决方法
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)