• 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: Unit Test code coverage with Xcode 5
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unit Test code coverage with Xcode 5


  • Subject: Re: Unit Test code coverage with Xcode 5
  • From: Simon Robbie <email@hidden>
  • Date: Tue, 01 Oct 2013 15:01:16 -0700

Best workaround I can come up with is to add a call to gcov in my tearDown methods:

extern void __gcov_flush(void);

- (void) tearDown {
    [super tearDown];
    __gcov_flush();
}

On Oct 1, 2013, at 1:17 PM, Simon Robbie <email@hidden> wrote:

Hi all,

Seems like I can get Xcode to generate gcno files but not the gcda files CoverStory needs.

I see talk of calling exit to generate them but that doesn't seem to work for me.

Any ideas what else I need to do or is this broken in Xcode 5? If it's broken, is there a Radar to fix it?

Thank you

Simon


 _______________________________________________
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

  • Follow-Ups:
    • Re: Unit Test code coverage with Xcode 5
      • From: Daniel Vollmer <email@hidden>
References: 
 >Unit Test code coverage with Xcode 5 (From: Simon Robbie <email@hidden>)

  • Prev by Date: Re: XCode 5 - breakpoints not firing again!
  • Next by Date: Re: How do I delete an older provisioning profile in Xcode 5?
  • Previous by thread: Unit Test code coverage with Xcode 5
  • Next by thread: Re: Unit Test code coverage with Xcode 5
  • Index(es):
    • Date
    • Thread