简体   繁体   中英

how to cancel the function that unit test called times

How to cancel the function that unit test called times? When I used unit test, it appear, buy how do I make it disappear? I can't find in Xcode?

在此处输入图片说明

Disable Code Coverage

The code coverage annotation is drawn on the right and shows the count for how many times a particular part of the code was hit during the test.

Code coverage is a tool to measure the value of your tests.

  1. Select Edit Scheme from the scheme editor menu.

  2. Select the Test action.

  3. Disable the Code Coverage checkbox to gather coverage data.

Apple Docs

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