简体   繁体   中英

How to run “single test case” in XCTest?

When I click "Run MyTest3" in XCode's Test Navigator, it also runs "MyTest1" and "MyTest2". Is there a way to run single test case at a time, just like GHUnitTest?

Yes, there is an option to do that.

Step 1:

测试用例选项卡

Step 2:

跑

Step 3:

状态

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM