<?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: How to run FlexUnit in a continuous build</title>
	<atom:link href="http://misko.hevery.com/2009/02/01/how-to-run-flexunit-in-a-continuous-build/feed/" rel="self" type="application/rss+xml" />
	<link>http://misko.hevery.com/2009/02/01/how-to-run-flexunit-in-a-continuous-build/</link>
	<description>Testability Explorer</description>
	<lastBuildDate>Tue, 09 Mar 2010 04:29:26 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: zwetan</title>
		<link>http://misko.hevery.com/2009/02/01/how-to-run-flexunit-in-a-continuous-build/comment-page-1/#comment-644</link>
		<dc:creator>zwetan</dc:creator>
		<pubDate>Tue, 03 Feb 2009 10:59:32 +0000</pubDate>
		<guid isPermaLink="false">http://misko.hevery.com/?p=388#comment-644</guid>
		<description>Hi, I took another shot at the problemthe Flash Player or AIR runtime both use the Tamarin VM to execute ActionScript, and on top of it add their respective APIso basically I added few extras to the Tamarin VM and ported my own unit tests framework to run in a CLI, so my unit tests can run in that VM on the command-linea longer more detailled explanation can be found here &lt;a href=&quot;http://groups.google.co.uk/group/flex-mojos/msg/a03b08871bab137a&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.co.uk/group/flex-mojos/msg/a03b08871bab137a&lt;/a&gt; let me know what do you think about it :)</description>
		<content:encoded><![CDATA[<p>Hi, I took another shot at the problemthe Flash Player or AIR runtime both use the Tamarin VM to execute ActionScript, and on top of it add their respective APIso basically I added few extras to the Tamarin VM and ported my own unit tests framework to run in a CLI, so my unit tests can run in that VM on the command-linea longer more detailled explanation can be found here <a href="http://groups.google.co.uk/group/flex-mojos/msg/a03b08871bab137a" rel="nofollow">http://groups.google.co.uk/group/flex-mojos/msg/a03b08871bab137a</a> let me know what do you think about it <img src='http://misko.hevery.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: misko</title>
		<link>http://misko.hevery.com/2009/02/01/how-to-run-flexunit-in-a-continuous-build/comment-page-1/#comment-643</link>
		<dc:creator>misko</dc:creator>
		<pubDate>Mon, 02 Feb 2009 19:48:21 +0000</pubDate>
		<guid isPermaLink="false">http://misko.hevery.com/?p=388#comment-643</guid>
		<description>I was not aware of those projects, let me check them out...</description>
		<content:encoded><![CDATA[<p>I was not aware of those projects, let me check them out&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke Bayes</title>
		<link>http://misko.hevery.com/2009/02/01/how-to-run-flexunit-in-a-continuous-build/comment-page-1/#comment-642</link>
		<dc:creator>Luke Bayes</dc:creator>
		<pubDate>Mon, 02 Feb 2009 19:24:38 +0000</pubDate>
		<guid isPermaLink="false">http://misko.hevery.com/?p=388#comment-642</guid>
		<description>There are still some problems here.1) It&#039;s ideal to run your test harness in an environment that is as close as possible to your production environment, and unless your application is intended for AIR, then compiling to AIR includes a lot of unintended code. The same goes for ActionScript only projects that are tested using FlexUnit, Flex applications are not the same as ActionScript applications.2) Just like the desktop and browser debug Flash Players,  AIR launches a GUI dialog with any uncaught runtime exceptions. This means that your CI machine will hang and at best - simply fail with a timeout and no useful information, whenever an exception occurs with the frame clock at the top of the stack.The solution?&lt;a href=&quot;http://asunit.org&quot;&gt;AsUnit&lt;/a&gt; and &lt;a href=&quot;http://projectsprouts.org&quot;&gt;ProjectSprouts&lt;/a&gt;.Among many things, Sprouts includes a Continuous Integration Rake task that runs in the Flex Debugger instead of the Flash Player, this gives us the ability to capture uncaught runtime exceptions, output the failure stack trace and all variables (and values) in the local scope where the failure occurred, and close down properly.Of course test results, including failures, are always output to an XUnit XML results file.Check it out and let us know what you think!Thanks</description>
		<content:encoded><![CDATA[<p>There are still some problems here.1) It&#8217;s ideal to run your test harness in an environment that is as close as possible to your production environment, and unless your application is intended for AIR, then compiling to AIR includes a lot of unintended code. The same goes for ActionScript only projects that are tested using FlexUnit, Flex applications are not the same as ActionScript applications.2) Just like the desktop and browser debug Flash Players,  AIR launches a GUI dialog with any uncaught runtime exceptions. This means that your CI machine will hang and at best &#8211; simply fail with a timeout and no useful information, whenever an exception occurs with the frame clock at the top of the stack.The solution?&lt;a href=&#8221;http://asunit.org&#8221;&gt;AsUnit&lt;/a&gt; and &lt;a href=&#8221;http://projectsprouts.org&#8221;&gt;ProjectSprouts&lt;/a&gt;.Among many things, Sprouts includes a Continuous Integration Rake task that runs in the Flex Debugger instead of the Flash Player, this gives us the ability to capture uncaught runtime exceptions, output the failure stack trace and all variables (and values) in the local scope where the failure occurred, and close down properly.Of course test results, including failures, are always output to an XUnit XML results file.Check it out and let us know what you think!Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
