<?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>Words, punctuated &#187; Unit testing</title>
	<atom:link href="http://probertson.com/articles/category/unit-testing/feed/" rel="self" type="application/rss+xml" />
	<link>http://probertson.com</link>
	<description>Thoughts on web development, user-centered design, code, etc. by Paul Robertson</description>
	<lastBuildDate>Tue, 20 Jul 2010 21:29:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Thoughts from 360&#124;Flex day one</title>
		<link>http://probertson.com/articles/2009/05/18/thoughts-from-360flex-day-one/</link>
		<comments>http://probertson.com/articles/2009/05/18/thoughts-from-360flex-day-one/#comments</comments>
		<pubDate>Tue, 19 May 2009 03:49:21 +0000</pubDate>
		<dc:creator>Paul Robertson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Elsewhere on the web]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Frameworks]]></category>
		<category><![CDATA[Sites to remember]]></category>
		<category><![CDATA[Unit testing]]></category>

		<guid isPermaLink="false">http://probertson.com/?p=276</guid>
		<description><![CDATA[Here are a few things that stood out to me the most in this great day at the greatest Flex conference on the planet:

FlexUnit 4. Wow. Big update. Very nice new features. Time to get (back) into it. (presentation by Michael Labriola)
Renaun Erickson&#8217;s Structured Log Testing framework. Another great, unexpected surprise. I didn&#8217;t really have [...]]]></description>
			<content:encoded><![CDATA[<p>Here are a few things that stood out to me the most in this great day at <a href="http://360flex.com/">the greatest Flex conference on the planet</a>:</p>
<ul>
<li><a href="http://opensource.adobe.com/wiki/display/flexunit/FlexUnit">FlexUnit 4</a>. Wow. Big update. Very nice new features. Time to get (back) into it. (presentation by <a href="http://blogs.digitalprimates.net/codeslinger/">Michael Labriola</a>)</li>
<li><a href="http://renaun.com/blog/">Renaun Erickson</a>&#8217;s <a href="http://structuredlogs.com/">Structured Log Testing framework</a>. Another great, unexpected surprise. I didn&#8217;t really have plans to go to this session except that Renaun&#8217;s such a smart, friendly guy. And frankly, I&#8217;ve never really had enough interest to take a look at his work on this project so far. Boy am I glad I changed my mind. This is definitely a testing approach I can get into &#8212; much less overhead than other approaches I&#8217;ve seen. Getting going with it is only barely more work than adding <code>trace()</code> calls. And the result is certainly infinitely more valuable.</li>
</ul>
<p>Considering I didn&#8217;t come to Indianapolis with any real interest in hearing more about testing&#8230;I&#8217;m surprised to find myself so excited by what I saw today. Today is a great day for Flex testing, that&#8217;s for sure.</p>
<p>I also got to hear some interesting ideas and future plans from <a href="http://jacwright.com/">Jacob Wright</a> and <a href="http://www.xtyler.com/">Tyler Wright</a>. (They made me a bit jealous &#8212; I wish I had a Flex programmer brother that I could see at conferences.) If you&#8217;re in Indianapolis, I recommend checking out their &#8220;write-in&#8221; session on the <a href="http://www.flightxd.com/flightframework/">Flight Framework</a> at 10am Tuesday in the Illinois East room.</p>
<p>Other less code-centric, but interesting, tidbits:</p>
<ul>
<li><a href="http://joeberkovitz.com/">Joe Berkovitz</a> is an avid mountain biker.</li>
<li><a href="http://blog.benstucki.net/">Ben Stucki</a> has a sweet five-year-old daughter who likes deep-fried calamari and pasta, although she wasn&#8217;t able to finish her macaroni and cheese at <a href="http://www.bucadibeppo.com/">Buca di Beppo</a>, where apparently even the child meals are sized to feed 3-4 people.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://probertson.com/articles/2009/05/18/thoughts-from-360flex-day-one/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>New ActionScript unit testing framework</title>
		<link>http://probertson.com/articles/2008/05/01/new-actionscript-unit-testing-framework/</link>
		<comments>http://probertson.com/articles/2008/05/01/new-actionscript-unit-testing-framework/#comments</comments>
		<pubDate>Fri, 02 May 2008 03:58:09 +0000</pubDate>
		<dc:creator>Paul Robertson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Elsewhere on the web]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Frameworks]]></category>
		<category><![CDATA[Sites to remember]]></category>
		<category><![CDATA[Unit testing]]></category>

		<guid isPermaLink="false">http://probertson.com/?p=172</guid>
		<description><![CDATA[Back in November 2005 (yes, 2.5 years ago!) I wrote an article about how data types and type checking work in ActionScript. ActionScript is different than many languages, in that the ActionScript compiler can be used for compile-time type checking (or not), and at runtime it is a strongly typed language, but it also has [...]]]></description>
			<content:encoded><![CDATA[<p>Back in November 2005 (yes, 2.5 years ago!) I wrote <a href="/articles/2005/11/08/actionscript-3-unit-testing-recommended/">an article about how data types and type checking work in ActionScript</a>. ActionScript is different than many languages, in that the ActionScript compiler can be used for compile-time type checking (or not), and at runtime it is a strongly typed language, but it also has features of dynamically typed languages. This allows for some flexibility but also means that you have to be careful about testing your code (because the compiler won&#8217;t always catch everything).</p>
<p>My conclusion (not original by any means) was that unit testing is an important tool for ActionScript developers. I&#8217;ve tried a couple of ActionScript unit testing frameworks (<a href="http://www.asunit.org/">ASUnit</a> and <a href="http://code.google.com/p/as3flexunitlib/">FlexUnit</a>). And finally getting to the point of this post, I was interested to learn today that the crew at <a href="http://www.digitalprimates.net/">Digital Primates</a> is releasing <a href="http://code.google.com/p/dpuint/">an open source unit testing framework for Flex, known as &#8220;dpunit&#8221;</a>.</p>
<p>(via <a href="http://jessewarden.com/">Jesse Warden</a> via <a href="http://twitter.com/jesterxl">Twitter</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://probertson.com/articles/2008/05/01/new-actionscript-unit-testing-framework/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Resources for getting started with FlexUnit</title>
		<link>http://probertson.com/articles/2007/04/11/flexunit-getting-started-resources/</link>
		<comments>http://probertson.com/articles/2007/04/11/flexunit-getting-started-resources/#comments</comments>
		<pubDate>Wed, 11 Apr 2007 04:17:53 +0000</pubDate>
		<dc:creator>Paul Robertson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Articles to remember]]></category>
		<category><![CDATA[Elsewhere on the web]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Unit testing]]></category>

		<guid isPermaLink="false">http://probertson.com/articles/2007/04/11/flexunit-getting-started-resources/</guid>
		<description><![CDATA[I&#8217;ve been finishing up migrating my XML-RPC client library to ActionScript 3.0. First task, according to my own recommendation: write more unit tests.
Even though the unit tests I wrote for the ActionScript 2.0 version of the library used ASUnit, this time around I decided to go with the &#8220;home team&#8221; (i.e. developed by Adobe employees) [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been finishing up migrating my <a href="/projects/xmlrpc/">XML-RPC client library</a> to ActionScript 3.0. First task, according to <a href="/articles/2005/11/08/actionscript-3-unit-testing-recommended/">my own recommendation</a>: <strong>write more unit tests</strong>.</p>
<p>Even though the unit tests I wrote for the ActionScript 2.0 version of the library used ASUnit, this time around I decided to go with the &#8220;home team&#8221; (i.e. developed by Adobe employees) solution and try out <a href="http://code.google.com/p/as3flexunitlib/">FlexUnit</a>. Fortunately, at least for the tests I had already written, the two systems are pretty similar, so I only had a few tweaks to make to migrate them. (Too bad there wasn&#8217;t any way for me to unit-test my unit tests, to make sure they worked the same across frameworks.)</p>
<p>Anyway, along the way I found a couple of resources that were very helpful in getting started, especially since the FlexUnit documentation is rather sketchy (only limited API reference docs available). These were the articles that helped the most:</p>
<ul>
<li><a href="http://www.darronschall.com/weblog/archives/000216.cfm">Darron Schall: How to use FlexUnit with Flex Builder 2</a> (A great &#8220;getting started&#8221; article. This article was actually written while Flex Builder was still in public alpha, so it&#8217;s not perfectly accurate when describing Flex Builder&#8217;s dialog boxes &#8212; but it&#8217;s close enough that it was easy to figure out.)</li>
<li>Daniel Rinehart: Asynchronous Testing with FlexUnit (Naturally, it doesn&#8217;t take long with ActionScript 3.0 before you want to test something involving events&#8230;so you need to do some asynchronous tests. The docs are no help here, and the included examples are really convoluted. I don&#8217;t know how Daniel figured it out, but I found his article very helpful for getting going with asynchronous tests.)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://probertson.com/articles/2007/04/11/flexunit-getting-started-resources/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
