How can I run Gcov over an installed Cocoa application?

Posted by Joe on Stack Overflow See other posts from Stack Overflow or by Joe
Published on 2010-06-14T11:18:07Z Indexed on 2010/06/14 11:22 UTC
Read the original article Hit count: 171

Filed under:
|
|
|
|

I have a Cocoa application which uses an installer. I want to be able to run code coverage over the code (after it has been installed).

This is not the usual unit-test scenario where a single binary will run a suite of tests. Rather, the tests in question will interact with the UI and the app back-end whilst it is running, so I ideally want to be able to start the application knowing that Gcov is profiling it and then run tests against it.

Any ideas?

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about cocoa