testing - Test Coverage via command line Xcode 5.1 -
i have unit tests in xcode 5.1, ios7.1, when run them via test command within xcode can see gcda , gcdo files generated in appropriate place. when invoke test command via command line gcdo files. must __gcov_flush
method needs called generate files (i put logs in flush method see in gui logs not terminal logs). used these questions
- code coverage command line
- followed of one
i have followed usual advice , set
generate test coverage files: yes instrument program flow: yes
at project level.
my command:
xcodebuild -workspace "$workspace" -scheme "$scheme" -configuration debug -sdk $iphonesimulator_version only_active_arch=yes clean build test
is there reason why work within xcode not via command line?
Comments
Post a Comment