XCode 运行所有测试(甚至是禁用的测试) [英] XCode run all the tests (even the disabled ones)

查看:32
本文介绍了XCode 运行所有测试(甚至是禁用的测试)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有 XCode 6.1.1,我正在使用 KIF 进行一些自动化测试.

I have XCode 6.1.1 and I'm using KIF to do some automated testing.

正如您在图片中看到的,我几乎禁用了所有测试,但是当我运行测试时,它会随机运行一些测试(甚至是禁用的测试),有时它会运行所有测试,有时只运行选定的测试,这真的很奇怪.

As you can see in the image I have almost all the test disabled but when I run test it runs some tests randomly (even the disabled ones), sometimes it runs all the tests, sometimes just the selected, it's really weird.

即使我点击所需的测试并点击测试..."它也会运行其他测试(甚至是禁用的测试)

Even if I clic the desired test and clic "Test ..." it run other tests (even the disabled ones)

有什么解决办法吗?我做错了什么?

Any fix? What I am doing wrong?

推荐答案

可能的解决方法:禁用所有这些,然后仅重新选择您想要的那些.好像够了.干杯

Possible workaround: disable all of them and then re-select only the ones you want. Seems to be enough. cheers

这篇关于XCode 运行所有测试(甚至是禁用的测试)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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