ios - How to get test coverage for only one test in XCode -


i use xcode 7.2 , swift 2.0, no pods testing, xctestcase class. don't have @testable import myapp , adding doesn't fix problem.

i have set correctly see code coverage swift project (i have set following post - how use code coverage in xcode 7? ).

and works, when run tests (with command-u). however, when try run particular test class (e.g. curiousuitests: xctestcase) or specific test (e.g. testmyfavouritebutton), coverage shows if none of code covered!

why happen?

i want able see code coverage when running 1 test, after implementing new test, don't have run of tests see if indeed cover expected (it takes long run them all).

thanks help!

da-na


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -