<?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>simonrichardson.info &#187; Unit Testing</title> <atom:link href="http://www.simonrichardson.info/category/testing/unit-testing/feed/" rel="self" type="application/rss+xml" /><link>http://www.simonrichardson.info</link> <description>ActionScript &#38; Android</description> <lastBuildDate>Mon, 05 Dec 2011 09:54:05 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.2.1</generator> <item><title>Unit tests (Part 3)</title><link>http://www.simonrichardson.info/2010/08/06/unit-tests-part-3/</link> <comments>http://www.simonrichardson.info/2010/08/06/unit-tests-part-3/#comments</comments> <pubDate>Fri, 06 Aug 2010 08:55:33 +0000</pubDate> <dc:creator>Simon Richardson</dc:creator> <category><![CDATA[ActionScript]]></category> <category><![CDATA[Testing]]></category> <category><![CDATA[Unit Testing]]></category> <category><![CDATA[ci]]></category> <category><![CDATA[flexunit]]></category> <category><![CDATA[linkedin]]></category> <category><![CDATA[unittest]]></category> <guid
isPermaLink="false">http://www.simonrichardson.info/?p=44</guid> <description><![CDATA[I was meant to finish this article ages ago, sorry for the late response. I was going to talk about my experiences when using Flex Unit and ASUnit. Both have there strong and weak points and each can be easily broken down to nth degree, but I&#8217;ll just say it extremely simply. If you want [...]]]></description> <content:encoded><![CDATA[<p>I was meant to finish this article ages ago, sorry for the late response. I was going to talk about my experiences when using Flex Unit and ASUnit. Both have there strong and weak points and each can be easily broken down to nth degree, but I&#8217;ll just say it extremely simply. If you want to use a CIServer then from my experience then use Flex Unit, it&#8217;s more tightly integrated with various servers. I&#8217;m not saying that ASUnit doesn&#8217;t integrate with a CIServer, I&#8217;m saying that Flex Unit currently does it a lot better. Flex Unit will tackle both pure ActionScript and Flex, so should be able to tackle anything you can throw at it. ASUnit will mainly tackle ActionScript, I&#8217;ve not tried it out with Flex, just because I&#8217;ve not had the time. Let me know if you have!</p><p>Also to note that if you like metadata with in your flash apps then Flex Unit will also be a benefit. I&#8217;m not a huge fan as I can&#8217;t use static naming for the strings within metadata and you have to be hugely careful about how you spell things, also I like the DRY principal where you write once! Failure of the language if you ask me.</p> ]]></content:encoded> <wfw:commentRss>http://www.simonrichardson.info/2010/08/06/unit-tests-part-3/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Unit tests (Part 1)</title><link>http://www.simonrichardson.info/2010/04/22/unit-tests-part-1/</link> <comments>http://www.simonrichardson.info/2010/04/22/unit-tests-part-1/#comments</comments> <pubDate>Thu, 22 Apr 2010 16:47:24 +0000</pubDate> <dc:creator>Simon Richardson</dc:creator> <category><![CDATA[ActionScript3]]></category> <category><![CDATA[Testing]]></category> <category><![CDATA[Unit Testing]]></category> <category><![CDATA[ci]]></category> <category><![CDATA[flash]]></category> <category><![CDATA[linkedin]]></category> <category><![CDATA[unittest]]></category> <guid
isPermaLink="false">http://www.simonrichardson.info/?p=32</guid> <description><![CDATA[I&#8217;ve been tasked recently to try and get a Continuous Integration (CI) server up and running. The reason for this piece of R&#038;D was because we had a scrum workshop and it became apparent that this could help us with our own frameworks. The interesting fact that was brought up from the workshop was; when [...]]]></description> <content:encoded><![CDATA[<p>I&#8217;ve been tasked recently to try and get a Continuous Integration (CI) server up and running. The reason for this piece of R&#038;D was because we had a scrum workshop and it became apparent that this could help us with our own frameworks. The interesting fact that was brought up from the workshop was; when developing software, you will spend most of the time maintaining the product after the first release. I&#8217;ve been on 3 major pieces of software in the last 2 years, each really exhaustive in the way of how much content we need to display with in very limited device setups. Every time we spend more time on maintenance than on developing the piece. When developing for devices there is even more of a watchful eye on the memory and cpu allocations, out of memory are frequent. It&#8217;s also important to note that users don&#8217;t follow the happy root that the UX people designed for, they will always find ways to &#8220;improve&#8221; it! I personally belief that software has a longer life cycle than a website and it&#8217;s this life cycle that we have to be careful for new bugs and regressions.</p><p>One possible way to help solve this would be to introduce testers, this is great, but keeping testers on the pay role constantly testing everything is very expensive. So if we as developers can help testers find an issue before testing software, they will thank-you (not forgetting your Finance guys and clients!). Testers don&#8217;t want to test buggy software because of some regression when happened to find it into your software somehow. So  if we could introduce steps in between developers coding the software and releasing it to testers then I&#8217;m all for that.</p><p>This is where Unit Tests come in. Now I&#8217;m not saying you can test everything 100% (UI is extremely hard!), but what I am saying is that you should be testing the places in your code that get hit hard and often. I&#8217;m sold, it makes complete sense, those that don&#8217;t see the benefits of unit testing in software are just making mistakes for themselves to pick up later on and it will cost you massively. And it&#8217;s not just cost, it&#8217;s time and as a developer do you really want to spend the next 6 months fixing simple mistakes that you accidentally made 8 months ago.</p><p>In my eyes, unit tests help produce high quality code because it reduces the errors that hit your users &#8211; it&#8217;s that simple!</p><p>Part 2: <a
href="http://www.simonrichardson.info/2010/04/25/unit-tests-part-2/">How to setup CI</a></p> ]]></content:encoded> <wfw:commentRss>http://www.simonrichardson.info/2010/04/22/unit-tests-part-1/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
