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

routing - AngularJS State management ->load multiple states in one page -

python - GRASS parser() error -

post - imageshack API cURL -