Re: How can I save code coverage output?
Re: How can I save code coverage output?
- Subject: Re: How can I save code coverage output?
- From: Doug Hill <email@hidden>
- Date: Tue, 28 Feb 2017 17:52:33 -0800
> On Feb 28, 2017, at 5:37 PM, Jens Alfke <email@hidden> wrote:
>
> Xcode’s code coverage UI is wonderful … except for the fact that there’s no way to export or save the results. This makes it really awkward in a team environment. Right now one of my colleagues is doing coverage analysis of our unit tests, and he’s resorting to sending me screenshots :-p
>
> I know there’s some command-line tool being used under the hood, which must produce textual output. Is that output being saved to a file I can later read? Or is there a straightforward way to run the tool directly?
>
> —Jens
Hello Jens,
I haven't used the Xcode GUI frontend to the code coverage toolset yet, but I used to use the clang 'gcov' tool directly. See here for cryptic, possibly useful info:
http://clang.llvm.org/docs/SourceBasedCodeCoverage.html
Doug Hill
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden