<?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: Unit Testing Flex &#8211; What&#8217;s stopping you?</title>
	<atom:link href="http://www.compactcode.com/2009/08/unit-testing-and-flex-whats-stopping-you/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.compactcode.com/2009/08/unit-testing-and-flex-whats-stopping-you/</link>
	<description>keeping software simple</description>
	<lastBuildDate>Wed, 18 Aug 2010 04:20:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Javier</title>
		<link>http://www.compactcode.com/2009/08/unit-testing-and-flex-whats-stopping-you/comment-page-1/#comment-183</link>
		<dc:creator>Javier</dc:creator>
		<pubDate>Thu, 05 Nov 2009 00:47:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.compactcode.com/?p=48#comment-183</guid>
		<description>I think the point of Unit testing is missed by some of the comments here.  Unit testing is not about finding bugs in the code like this article says: http://blog.codeville.net/2009/08/24/writing-great-unit-tests-best-and-worst-practises/.  It&#039;s actually a &quot;tool&quot;, a blue-print if you like, of what your code should do...that is why unit test are written before any code is created...it&#039;s like our professors always said: before you write any code, put it down on paper&quot; -&gt; same idea, different method.</description>
		<content:encoded><![CDATA[<p>I think the point of Unit testing is missed by some of the comments here.  Unit testing is not about finding bugs in the code like this article says: <a href="http://blog.codeville.net/2009/08/24/writing-great-unit-tests-best-and-worst-practises/" rel="nofollow">http://blog.codeville.net/2009/08/24/writing-great-unit-tests-best-and-worst-practises/</a>.  It&#8217;s actually a &#8220;tool&#8221;, a blue-print if you like, of what your code should do&#8230;that is why unit test are written before any code is created&#8230;it&#8217;s like our professors always said: before you write any code, put it down on paper&#8221; -&gt; same idea, different method.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shanon</title>
		<link>http://www.compactcode.com/2009/08/unit-testing-and-flex-whats-stopping-you/comment-page-1/#comment-21</link>
		<dc:creator>Shanon</dc:creator>
		<pubDate>Sun, 23 Aug 2009 09:41:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.compactcode.com/?p=48#comment-21</guid>
		<description>@Stan
I&#039;m more than happy to help out, I haven&#039;t used Cairngorm myself but if you can give me an example of what parts you are finding difficult or you can point me in the right direction I&#039;ll see what I can come up with :)</description>
		<content:encoded><![CDATA[<p>@Stan<br />
I&#8217;m more than happy to help out, I haven&#8217;t used Cairngorm myself but if you can give me an example of what parts you are finding difficult or you can point me in the right direction I&#8217;ll see what I can come up with <img src='http://www.compactcode.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kris</title>
		<link>http://www.compactcode.com/2009/08/unit-testing-and-flex-whats-stopping-you/comment-page-1/#comment-20</link>
		<dc:creator>Kris</dc:creator>
		<pubDate>Sat, 22 Aug 2009 20:27:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.compactcode.com/?p=48#comment-20</guid>
		<description>Try mockito-flex if you need to mock anything. It won&#039;t give you hangover and it tastes really well: http://bitbucket.org/loomis/mockito-flex/</description>
		<content:encoded><![CDATA[<p>Try mockito-flex if you need to mock anything. It won&#8217;t give you hangover and it tastes really well: <a href="http://bitbucket.org/loomis/mockito-flex/" rel="nofollow">http://bitbucket.org/loomis/mockito-flex/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stan Berka</title>
		<link>http://www.compactcode.com/2009/08/unit-testing-and-flex-whats-stopping-you/comment-page-1/#comment-19</link>
		<dc:creator>Stan Berka</dc:creator>
		<pubDate>Fri, 21 Aug 2009 22:54:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.compactcode.com/?p=48#comment-19</guid>
		<description>I&#039;m 100% for unit testing.  And FlexUnit 4 is a great tool.  However, to apply it to Cairngorm architecture, which is mandatory in our shop, is a challenge. There is very little on this topic.  If you can help to any degree in this direction, I&#039;d really appreciate it.</description>
		<content:encoded><![CDATA[<p>I&#8217;m 100% for unit testing.  And FlexUnit 4 is a great tool.  However, to apply it to Cairngorm architecture, which is mandatory in our shop, is a challenge. There is very little on this topic.  If you can help to any degree in this direction, I&#8217;d really appreciate it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shanon</title>
		<link>http://www.compactcode.com/2009/08/unit-testing-and-flex-whats-stopping-you/comment-page-1/#comment-13</link>
		<dc:creator>Shanon</dc:creator>
		<pubDate>Wed, 12 Aug 2009 03:42:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.compactcode.com/?p=48#comment-13</guid>
		<description>@Darren
Thanks for your comment. I won&#039;t argue with you that there is a cost associated with unit testing. However I will say that regardless of how perfect your code is you will always have to test it before you release it. I used to spend a lot of time manually testing my code, now I spend that time writing automated tests. 

If you don&#039;t see unit testing ever becoming part of your day to day development there is nothing wrong with that. However I challenge you the next time you discover a bug in your production code to see if you can write a unit test that identifies it :)</description>
		<content:encoded><![CDATA[<p>@Darren<br />
Thanks for your comment. I won&#8217;t argue with you that there is a cost associated with unit testing. However I will say that regardless of how perfect your code is you will always have to test it before you release it. I used to spend a lot of time manually testing my code, now I spend that time writing automated tests. </p>
<p>If you don&#8217;t see unit testing ever becoming part of your day to day development there is nothing wrong with that. However I challenge you the next time you discover a bug in your production code to see if you can write a unit test that identifies it <img src='http://www.compactcode.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darren</title>
		<link>http://www.compactcode.com/2009/08/unit-testing-and-flex-whats-stopping-you/comment-page-1/#comment-12</link>
		<dc:creator>Darren</dc:creator>
		<pubDate>Wed, 12 Aug 2009 02:38:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.compactcode.com/?p=48#comment-12</guid>
		<description>Looks like I didn&#039;t strictly validate the word &#039;strictly&#039; in the above comment ;)</description>
		<content:encoded><![CDATA[<p>Looks like I didn&#8217;t strictly validate the word &#8217;strictly&#8217; in the above comment <img src='http://www.compactcode.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darren</title>
		<link>http://www.compactcode.com/2009/08/unit-testing-and-flex-whats-stopping-you/comment-page-1/#comment-11</link>
		<dc:creator>Darren</dc:creator>
		<pubDate>Wed, 12 Aug 2009 02:36:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.compactcode.com/?p=48#comment-11</guid>
		<description>Surely, unit-testing is a development time/code quality tradeoff. Having read some of your examples now, it doesn&#039;t seem like it&#039;s worth the cost in development time for GUI components, or, in most cases, Flex in general. Flex is by definition a client-side technology. You should never, ever trust the  client so before anything is committed to the database on the server-side it should be strcitly validated and checked for errors (unit testing makes sense here). Should you compromise on code-quality (for GUIs)? Yes, I think it&#039;s acceptable if it means development time will be much less. Just get good at programming and there shouldn&#039;t be many bugs to start with. Structure your code well and the bugs that are found will be easy to isolate and fix.

Think of it like this. You&#039;re a journalist for the NY Times. All your work is checked by two editors. Once every couple of months a typo or two makes it through. Does this mean that all your work should now be checked by four editors? I don&#039;t think so...</description>
		<content:encoded><![CDATA[<p>Surely, unit-testing is a development time/code quality tradeoff. Having read some of your examples now, it doesn&#8217;t seem like it&#8217;s worth the cost in development time for GUI components, or, in most cases, Flex in general. Flex is by definition a client-side technology. You should never, ever trust the  client so before anything is committed to the database on the server-side it should be strcitly validated and checked for errors (unit testing makes sense here). Should you compromise on code-quality (for GUIs)? Yes, I think it&#8217;s acceptable if it means development time will be much less. Just get good at programming and there shouldn&#8217;t be many bugs to start with. Structure your code well and the bugs that are found will be easy to isolate and fix.</p>
<p>Think of it like this. You&#8217;re a journalist for the NY Times. All your work is checked by two editors. Once every couple of months a typo or two makes it through. Does this mean that all your work should now be checked by four editors? I don&#8217;t think so&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shanon</title>
		<link>http://www.compactcode.com/2009/08/unit-testing-and-flex-whats-stopping-you/comment-page-1/#comment-10</link>
		<dc:creator>Shanon</dc:creator>
		<pubDate>Sat, 08 Aug 2009 03:46:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.compactcode.com/?p=48#comment-10</guid>
		<description>That&#039;s a great idea Danny, I think more knowledge about mocking in flex/actionscript is one area that everyone including myself could benefit from.</description>
		<content:encoded><![CDATA[<p>That&#8217;s a great idea Danny, I think more knowledge about mocking in flex/actionscript is one area that everyone including myself could benefit from.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DannyT</title>
		<link>http://www.compactcode.com/2009/08/unit-testing-and-flex-whats-stopping-you/comment-page-1/#comment-9</link>
		<dc:creator>DannyT</dc:creator>
		<pubDate>Fri, 07 Aug 2009 19:21:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.compactcode.com/?p=48#comment-9</guid>
		<description>Definitely options for mocks and test data would be of interest, great idea to start sharing experiences and I think your timing is perfect as I think alot of Flex devs are ever-increasingly aware they perhaps should be unit testing but definitely has a somewhat elitist or black magic perception in the community.</description>
		<content:encoded><![CDATA[<p>Definitely options for mocks and test data would be of interest, great idea to start sharing experiences and I think your timing is perfect as I think alot of Flex devs are ever-increasingly aware they perhaps should be unit testing but definitely has a somewhat elitist or black magic perception in the community.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: johnny</title>
		<link>http://www.compactcode.com/2009/08/unit-testing-and-flex-whats-stopping-you/comment-page-1/#comment-6</link>
		<dc:creator>johnny</dc:creator>
		<pubDate>Fri, 07 Aug 2009 04:11:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.compactcode.com/?p=48#comment-6</guid>
		<description>It prooves your code work ;p</description>
		<content:encoded><![CDATA[<p>It prooves your code work ;p</p>
]]></content:encoded>
	</item>
</channel>
</rss>
