Re: Code Coverage tools on Mac side
Re: Code Coverage tools on Mac side
- Subject: Re: Code Coverage tools on Mac side
- From: Chris Hanson <email@hidden>
- Date: Wed, 4 Jan 2006 14:16:31 -0800
On Jan 3, 2006, at 10:56 PM, email@hidden wrote:
1> Code coverage tools on Mac Os X
Xcode includes the GNU Compiler Collection (GCC) C, C++ and Objective-
C compiler, which also includes the gcov code-coverage measurement
utility.
2> URLs to delve into the details of these tools
3> What exactly is meant by code coverage tools? Does it mean that
as &
when we run our test cases the tool gives us the percentage of code
covered?
This URL is the first hit when I use Google to search for gcov:
<http://gcc.gnu.org/onlinedocs/gcc-3.0/gcc_8.html>
It describes both the use and purpose of gcov. See below for more on
using gcov with unit testing.
4> Tools to automate the testing (test cases) on Mac Os x. Is
Eggplant a
solution to this?
Xcode 2.1 and later include support for unit testing and two unit
testing frameworks, OCUnit for writing Objective-C unit tests and
CPlusTest for writing C++ unit tests. Here's a URL to the Xcode Unit
Testing Guide:
<http://developer.apple.com/documentation/DeveloperTools/Conceptual/
UnitTesting/UnitTesting.html>
Chris Liscio, a third-party developer, wrote a post on his weblog
about using gcov to obtain code coverage metrics for unit tests via
Xcode's unit testing support:
<http://www.supermegaultragroovy.com/Software Development/
xcode_code_coverage_howto>
Eggplant is a third-party tool for performing user interface capture-
and-playback testing on Mac OS X.
-- Chris
_______________________________________________
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