<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Standard Orbit &#187; UnitTesting</title>
	<atom:link href="http://standardorbit.net/blog/tag/unittesting/feed/" rel="self" type="application/rss+xml" />
	<link>http://standardorbit.net/blog</link>
	<description></description>
	<lastBuildDate>Thu, 10 Jun 2010 04:42:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Running selected unit tests with GHUnit</title>
		<link>http://standardorbit.net/blog/2009/03/running-selected-unit-tests-with-ghunit/</link>
		<comments>http://standardorbit.net/blog/2009/03/running-selected-unit-tests-with-ghunit/#comments</comments>
		<pubDate>Sat, 14 Mar 2009 23:55:47 +0000</pubDate>
		<dc:creator>Bill</dc:creator>
				<category><![CDATA[Cocoa]]></category>
		<category><![CDATA[Unit Testing]]></category>
		<category><![CDATA[UnitTesting]]></category>

		<guid isPermaLink="false">http://standardorbit.net/blog/?p=21</guid>
		<description><![CDATA[I love the sanity that GHUnit brings to running and debugging unit tests.  The under-documented Xcode 3 mojo needed to configure SenTest unit test bundles for debugging throws a wet towel on the practice of test-driven Cocoa development.
The current GHUnit distribution runs all unit tests found in your app or framework.  I did [...]]]></description>
			<content:encoded><![CDATA[<p>I love the sanity that <a href="http://github.com/gabriel/gh-unit/tree/master">GHUnit</a> brings to running and debugging unit tests.  The under-documented Xcode 3 mojo needed to configure SenTest unit test bundles for debugging throws a wet towel on the practice of test-driven Cocoa development.</p>
<p>The current GHUnit distribution runs all unit tests found in your app or framework.  I did some work today to enable running a selected test cases and individual unit tests.</p>
<p>This works similarly to the SenTestingKit&#8217;s otest tool.  You specify a unit test case and/or test name to run as an argument to the GHUnit test application.</p>
<p>In the Xcode&#8217;s executable panel for the test application, add arguments of the form:</p>
<p><code>-Test UserTests<br />
-Test UserTests/testEmptyUserName<br />
-Test All<br />
</code></p>
<p>When you run or debug the test app, only the specified test case or individual test will be executed.   The argument <em>-Test All</em> will run all available unit test cases.</p>
<p>The patch file is <a href="http://standardorbit.net/downloads/ghunit-bgarrison.patch">here</a> and works for Mac OS X.  To apply the patch:</p>
<p><code>$ cd your-GHUnit-project-directory<br />
$ patch -p1 &lt; path-to-patch-file<br />
</code></p>
<p>I&#8217;ve submitted the patch to Gabriel, so maybe it&#8217;ll make it into a future release.</p>
]]></content:encoded>
			<wfw:commentRss>http://standardorbit.net/blog/2009/03/running-selected-unit-tests-with-ghunit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
