• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How can I save code coverage output?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >How can I save code coverage output? (From: Jens Alfke <email@hidden>)

  • Prev by Date: How can I save code coverage output?
  • Previous by thread: How can I save code coverage output?
  • Index(es):
    • Date
    • Thread