<?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>Thu, 02 Sep 2010 04:05:01 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<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-3386</link>
		<dc:creator>misko</dc:creator>
		<pubDate>Fri, 23 Apr 2010 00:14:44 +0000</pubDate>
		<guid isPermaLink="false">http://misko.hevery.com/?p=388#comment-3386</guid>
		<description>have you tried XVFB? http://en.wikipedia.org/wiki/Xvfb</description>
		<content:encoded><![CDATA[<p>have you tried XVFB? <a href="http://en.wikipedia.org/wiki/Xvfb" rel="nofollow">http://en.wikipedia.org/wiki/Xvfb</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jensendarren</title>
		<link>http://misko.hevery.com/2009/02/01/how-to-run-flexunit-in-a-continuous-build/comment-page-1/#comment-3383</link>
		<dc:creator>jensendarren</dc:creator>
		<pubDate>Thu, 22 Apr 2010 12:42:24 +0000</pubDate>
		<guid isPermaLink="false">http://misko.hevery.com/?p=388#comment-3383</guid>
		<description>Thankyou for your informative insight. I am very new to Flex and have been literally thrown into an existing project which already has a set of tests written by another developer. My task is to get these tests to run as part of our nightly build. 

I took the example you provided and applied it against our own test runner using Rake instead of ANT. After half a day of figuring out how Flex works and how to compile it etc, etc, I adjusted our runner to write out an XML file and successfully compiled it using the AIR libraries.

However, when I run this on our deployment server (Ubuntu 9.04 Server) I see the following error &quot;Gtk-WARNING **: cannot open display&quot;. How can I get adl to  run without a GUI?</description>
		<content:encoded><![CDATA[<p>Thankyou for your informative insight. I am very new to Flex and have been literally thrown into an existing project which already has a set of tests written by another developer. My task is to get these tests to run as part of our nightly build. </p>
<p>I took the example you provided and applied it against our own test runner using Rake instead of ANT. After half a day of figuring out how Flex works and how to compile it etc, etc, I adjusted our runner to write out an XML file and successfully compiled it using the AIR libraries.</p>
<p>However, when I run this on our deployment server (Ubuntu 9.04 Server) I see the following error &#8220;Gtk-WARNING **: cannot open display&#8221;. How can I get adl to  run without a GUI?</p>
]]></content:encoded>
	</item>
	<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>
