Questions tagged [coverstory]
10 questions
4
votes
1 answer
What is required to generate code coverage data using XCode 4
I have been trying to generate code coverage data for my application on XCode 4.2.1 (build 4D502) using the steps outlined at http://code.google.com/p/coverstory/wiki/UsingCoverstory
I am obviously missing something as there are no .gcno or .gcda…

dstewart656
- 43
- 2
4
votes
0 answers
Why aren't scopes that throw exceptions showing as covered in gcov/CoverStory?
I'm using the coverage tools in Xcode 4.6 and visualizing with CoverStory. No matter what I do, CoverStory never shows scopes in which I throw Objective-C exceptions as being covered, even though, when running the Unit Tests with breakpoints on…

ipmcc
- 29,581
- 5
- 84
- 147
3
votes
2 answers
Code coverage files not being generated on OSX Lion
I'm trying to get the code coverage for my unit tests (Xcode 4.2.1 (4D502) on Mac OS X Lion 10.7 (11A2061)), but somehow the .gcda files don't get created. I can see .d and .o files in .../Objects-normal/i386 folder of the unit test target, but the…

Ram
- 31
- 4
2
votes
2 answers
How to setup environment variables for gcov on iPhone
I have overcome all problems with setting up gcov on my iPhone project but now I am getting the following:
profiling:/Users:Cannot create directory
Does anyone have any suggestions as to what I might be doing wrong?
I originally setup gcov…

Blaine
- 652
- 8
- 11
2
votes
2 answers
iOS Code Coverage: @implementation Not Hit?
I've recently added test coverage analysis to our codebase, and thankfully the classes that I expected to be well covered are clocking in above 95% coverage. I love the ones that hit 100%, since that's obviously the goal, but a handful of my classes…

LeffelMania
- 12,765
- 4
- 32
- 34
2
votes
1 answer
Exclude files in coverstory while checking code coverage
I just tried to check the code coverage using cover story in Xcode 4.6 and I am able to generate .gcda and .gcno files and check the overall and individual coverage of each file.
But, I want to exclude some classes in the cover story while checking…

Sudershan shastri
- 720
- 4
- 15
1
vote
0 answers
How CoverStory supports XCODE 4.0.1, using LLVM as compiler?
How does XCode 4.0.1 (LLVM 2.0) + CoverStory (code cover tool provide by google) to produce code cover data?
The following WIKI explains how does CoverStory work with XCODE 3.2 and 4.2, I wonder how to integrate with XCODE 4.0.1, using LLVM as…

jianhua
- 1,011
- 1
- 12
- 28
1
vote
1 answer
Is it possible to have post-debugging build steps/triggers in XCode?
I want to run some code coverage analysis (using CoverStory) on our iPhone app's unit tests in XCode automatically when the tests run. the problem is that we're using the Google Toolbox for Mac, and the way that the tests seem to run doesn't…

Kevlar
- 8,804
- 9
- 55
- 81
1
vote
2 answers
Undefined symbols when attempting to use CoverStory with iPhone app: _vproc_transaction_end, _vproc_transaction_begin
After following these steps to set up an iphone project with CoverStory, my build fails with two linker errors.
Undefined symbols:
"_vproc_transaction_end", referenced from:
_gcov_exit in libgcov.a(_gcov.o)
…

dstnbrkr
- 4,305
- 22
- 23
1
vote
1 answer
Code coverage not processed in xcode 4.6 using coverstory even after generating .gcda and .gcno files
I was trying to run code coverage in xcode 4.6 using coverstory. I followed these steps in the project's build settings:
1.Set "Generate Test Coverage Files" to "YES"
2.Set "Instrument Program Flow" to YES.
3.Build and run unit tests
After setting…

Sudershan shastri
- 720
- 4
- 15