<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Quick Hits: Unit Testing iPhone Apps</title>
	<atom:link href="http://www.kickasslabs.com/2009/07/05/quick-hits-unit-testing-iphone-apps/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kickasslabs.com/2009/07/05/quick-hits-unit-testing-iphone-apps/</link>
	<description>We &#9829; code.</description>
	<lastBuildDate>Thu, 26 Jan 2012 05:50:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Unit Testing on the iPad &#171; Bloq Software</title>
		<link>http://www.kickasslabs.com/2009/07/05/quick-hits-unit-testing-iphone-apps/comment-page-1/#comment-294</link>
		<dc:creator>Unit Testing on the iPad &#171; Bloq Software</dc:creator>
		<pubDate>Sun, 09 May 2010 04:11:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.kickasslabs.com/?p=381#comment-294</guid>
		<description>[...] A &#8220;Kickass Labs&#8221; blog post about the subject (http://www.kickasslabs.com/2009/07/05/quick-hits-unit-testing-iphone-apps/) [...]</description>
		<content:encoded><![CDATA[<p>[...] A &#8220;Kickass Labs&#8221; blog post about the subject (<a href="http://www.kickasslabs.com/2009/07/05/quick-hits-unit-testing-iphone-apps/" rel="nofollow">http://www.kickasslabs.com/2009/07/05/quick-hits-unit-testing-iphone-apps/</a>) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rebecca</title>
		<link>http://www.kickasslabs.com/2009/07/05/quick-hits-unit-testing-iphone-apps/comment-page-1/#comment-81</link>
		<dc:creator>Rebecca</dc:creator>
		<pubDate>Mon, 03 Aug 2009 03:53:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.kickasslabs.com/?p=381#comment-81</guid>
		<description>A couple things that have tripped me up:

1.  In order to do app testing, you MUST build and run on the device; in order to do logic testing, you must build and run on the stimulator. 

http://stackoverflow.com/questions/1092396/iphone-unit-testing-xcode

2. You can only test on devices running 3.0.</description>
		<content:encoded><![CDATA[<p>A couple things that have tripped me up:</p>
<p>1.  In order to do app testing, you MUST build and run on the device; in order to do logic testing, you must build and run on the stimulator. </p>
<p><a href="http://stackoverflow.com/questions/1092396/iphone-unit-testing-xcode" rel="nofollow">http://stackoverflow.com/questions/1092396/iphone-unit-testing-xcode</a></p>
<p>2. You can only test on devices running 3.0.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad</title>
		<link>http://www.kickasslabs.com/2009/07/05/quick-hits-unit-testing-iphone-apps/comment-page-1/#comment-64</link>
		<dc:creator>Brad</dc:creator>
		<pubDate>Tue, 07 Jul 2009 00:16:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.kickasslabs.com/?p=381#comment-64</guid>
		<description>Marc - No, that&#039;s a new one on me, but then I&#039;m pretty new at this.  I have noticed that things like linker failures can also trigger that error message - do you have any feedback from the build besides that one message?</description>
		<content:encoded><![CDATA[<p>Marc &#8211; No, that&#8217;s a new one on me, but then I&#8217;m pretty new at this.  I have noticed that things like linker failures can also trigger that error message &#8211; do you have any feedback from the build besides that one message?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc Chapman</title>
		<link>http://www.kickasslabs.com/2009/07/05/quick-hits-unit-testing-iphone-apps/comment-page-1/#comment-63</link>
		<dc:creator>Marc Chapman</dc:creator>
		<pubDate>Mon, 06 Jul 2009 20:42:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.kickasslabs.com/?p=381#comment-63</guid>
		<description>You ever run into a situation where your general test fails, but the individual tests are all OK?  I tried to add OCMock to my application, and I keep getting a general error:

error:  Failed tests for architecture &#039;i386&#039; (GC OFF)</description>
		<content:encoded><![CDATA[<p>You ever run into a situation where your general test fails, but the individual tests are all OK?  I tried to add OCMock to my application, and I keep getting a general error:</p>
<p>error:  Failed tests for architecture &#8216;i386&#8242; (GC OFF)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kickass Labs » Blog Archive » Quick Hits: Unit Testing iPhone Apps &#124; Mac Affinity</title>
		<link>http://www.kickasslabs.com/2009/07/05/quick-hits-unit-testing-iphone-apps/comment-page-1/#comment-62</link>
		<dc:creator>Kickass Labs » Blog Archive » Quick Hits: Unit Testing iPhone Apps &#124; Mac Affinity</dc:creator>
		<pubDate>Mon, 06 Jul 2009 09:13:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.kickasslabs.com/?p=381#comment-62</guid>
		<description>[...] Excerpt from: Kickass Labs » Blog Archive » Quick Hits: Unit Testing iPhone Apps [...]</description>
		<content:encoded><![CDATA[<p>[...] Excerpt from: Kickass Labs » Blog Archive » Quick Hits: Unit Testing iPhone Apps [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad</title>
		<link>http://www.kickasslabs.com/2009/07/05/quick-hits-unit-testing-iphone-apps/comment-page-1/#comment-61</link>
		<dc:creator>Brad</dc:creator>
		<pubDate>Mon, 06 Jul 2009 03:11:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.kickasslabs.com/?p=381#comment-61</guid>
		<description>Chris - Thanks for the feedback.

I came to linking the object files directly because I got a linker error, and that was the thing I found that fixed it.  I am, of course, always open to better ways of doing things.

At your suggestion, I&#039;ve added the .m files for the classes under test to my unit tests target.  It works well, and I don&#039;t have to go hunting for the .o files.  Thanks for the guidance.  I&#039;ll update the post accordingly.</description>
		<content:encoded><![CDATA[<p>Chris &#8211; Thanks for the feedback.</p>
<p>I came to linking the object files directly because I got a linker error, and that was the thing I found that fixed it.  I am, of course, always open to better ways of doing things.</p>
<p>At your suggestion, I&#8217;ve added the .m files for the classes under test to my unit tests target.  It works well, and I don&#8217;t have to go hunting for the .o files.  Thanks for the guidance.  I&#8217;ll update the post accordingly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Hanson</title>
		<link>http://www.kickasslabs.com/2009/07/05/quick-hits-unit-testing-iphone-apps/comment-page-1/#comment-60</link>
		<dc:creator>Chris Hanson</dc:creator>
		<pubDate>Mon, 06 Jul 2009 02:27:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.kickasslabs.com/?p=381#comment-60</guid>
		<description>Oh, one other thing: If you&#039;re trying to link your test bundle against an application (via the Bundle Loader build setting), you&#039;ll also have to tell your application target to export all of the application&#039;s symbols.

Applications don&#039;t default to exporting all of their symbols, unlike frameworks and static libraries.</description>
		<content:encoded><![CDATA[<p>Oh, one other thing: If you&#8217;re trying to link your test bundle against an application (via the Bundle Loader build setting), you&#8217;ll also have to tell your application target to export all of the application&#8217;s symbols.</p>
<p>Applications don&#8217;t default to exporting all of their symbols, unlike frameworks and static libraries.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Hanson</title>
		<link>http://www.kickasslabs.com/2009/07/05/quick-hits-unit-testing-iphone-apps/comment-page-1/#comment-59</link>
		<dc:creator>Chris Hanson</dc:creator>
		<pubDate>Mon, 06 Jul 2009 02:25:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.kickasslabs.com/?p=381#comment-59</guid>
		<description>You don&#039;t &quot;need to explicitly link the object files of the classes you&#039;re testing.&quot; It&#039;s unclear how you got the idea that you do.

Either you need to add the sources for the classes you&#039;re testing to your test bundle - making it what the unit testing docs call an &quot;independent&quot; test bundle - or you need to have your test bundle link against your application or library, making it a dependent test bundle.

Linking your test bundle against the object files directly shouldn&#039;t ever be necessary.</description>
		<content:encoded><![CDATA[<p>You don&#8217;t &#8220;need to explicitly link the object files of the classes you&#8217;re testing.&#8221; It&#8217;s unclear how you got the idea that you do.</p>
<p>Either you need to add the sources for the classes you&#8217;re testing to your test bundle &#8211; making it what the unit testing docs call an &#8220;independent&#8221; test bundle &#8211; or you need to have your test bundle link against your application or library, making it a dependent test bundle.</p>
<p>Linking your test bundle against the object files directly shouldn&#8217;t ever be necessary.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

