<?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: Flexcover: A Code Coverage Tool for Flex, AIR and AS3</title>
	<atom:link href="http://joeberkovitz.com/blog/2008/04/12/flex-air-code-coverage-announce/feed/" rel="self" type="application/rss+xml" />
	<link>http://joeberkovitz.com/blog/2008/04/12/flex-air-code-coverage-announce/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sat, 13 Mar 2010 04:05:42 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Flex test coverage?</title>
		<link>http://joeberkovitz.com/blog/2008/04/12/flex-air-code-coverage-announce/comment-page-1/#comment-232</link>
		<dc:creator>Flex test coverage?</dc:creator>
		<pubDate>Sat, 11 Oct 2008 02:42:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.joeberkovitz.com/blog/2008/04/12/flex-air-code-coverage-announce/#comment-232</guid>
		<description>[...] frameworks they use for test unit coverage in Flex? A quick google search pointed me to this article describing Flexcover, just what I was looking for. Please share your [...]</description>
		<content:encoded><![CDATA[<p>[...] frameworks they use for test unit coverage in Flex? A quick google search pointed me to this article describing Flexcover, just what I was looking for. Please share your [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Dura &#187; Want to Hack on the Flex Compiler?</title>
		<link>http://joeberkovitz.com/blog/2008/04/12/flex-air-code-coverage-announce/comment-page-1/#comment-229</link>
		<dc:creator>Daniel Dura &#187; Want to Hack on the Flex Compiler?</dc:creator>
		<pubDate>Tue, 17 Jun 2008 14:26:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.joeberkovitz.com/blog/2008/04/12/flex-air-code-coverage-announce/#comment-229</guid>
		<description>[...] I actually do with this information? One great example is the new Flex code coverage tool called Flex Cover written by Joe Berkovitz. The tool basically adds functionality to the Flex compiler so that the bytecode it outputs [...]</description>
		<content:encoded><![CDATA[<p>[...] I actually do with this information? One great example is the new Flex code coverage tool called Flex Cover written by Joe Berkovitz. The tool basically adds functionality to the Flex compiler so that the bytecode it outputs [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joe</title>
		<link>http://joeberkovitz.com/blog/2008/04/12/flex-air-code-coverage-announce/comment-page-1/#comment-235</link>
		<dc:creator>joe</dc:creator>
		<pubDate>Thu, 24 Apr 2008 11:37:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.joeberkovitz.com/blog/2008/04/12/flex-air-code-coverage-announce/#comment-235</guid>
		<description>Well, we don&#039;t call it &quot;experimental&quot; for nothing!  This is a bug in the CoverageManager.  I&#039;ve logged it as &lt;a href=&quot;http://code.google.com/p/flexcover/issues/detail?id=3&quot; rel=&quot;nofollow&quot;&gt;issue #3&lt;/a&gt;.  As a workaround, you might get hold of the CoverageManager source and stick a try/catch around the line 203 that is causing the problem, then simply compile this source along with your application to override the built-in CoverageManager class.

That CoverageManager source can be found here:

http://flexcover-sdk.googlecode.com/svn/trunk/flex3.0.x/frameworks/projects/utilities/src/com/allurent/coverage/runtime/CoverageManager.as

I&#039;ll fix it in the next release, hopefully out in the next week or two.</description>
		<content:encoded><![CDATA[<p>Well, we don&#8217;t call it &#8220;experimental&#8221; for nothing!  This is a bug in the CoverageManager.  I&#8217;ve logged it as <a href="http://code.google.com/p/flexcover/issues/detail?id=3" rel="nofollow">issue #3</a>.  As a workaround, you might get hold of the CoverageManager source and stick a try/catch around the line 203 that is causing the problem, then simply compile this source along with your application to override the built-in CoverageManager class.</p>
<p>That CoverageManager source can be found here:</p>
<p><a href="http://flexcover-sdk.googlecode.com/svn/trunk/flex3.0.x/frameworks/projects/utilities/src/com/allurent/coverage/runtime/CoverageManager.as" rel="nofollow">http://flexcover-sdk.googlecode.com/svn/trunk/flex3.0.x/frameworks/projects/utilities/src/com/allurent/coverage/runtime/CoverageManager.as</a></p>
<p>I&#8217;ll fix it in the next release, hopefully out in the next week or two.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://joeberkovitz.com/blog/2008/04/12/flex-air-code-coverage-announce/comment-page-1/#comment-234</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Thu, 24 Apr 2008 11:00:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.joeberkovitz.com/blog/2008/04/12/flex-air-code-coverage-announce/#comment-234</guid>
		<description>Thanks Joe, the flushing now works fine but there is an error just before the coverageManager tries to shutdown the application:

ReferenceError: Error #1065: Variable NativeApplication is not defined.
	at global/flash.utils::getDefinitionByName()
	at com.allurent.coverage.runtime::CoverageManager$/checkForExit()[C:\work\flex\3.0.x\frameworks\projects\utilities\src\com\allurent\coverage\runtime\CoverageManager.as:203]
	at com.allurent.coverage.runtime::CoverageManager$/handleStatus()[C:\work\flex\3.0.x\frameworks\projects\utilities\src\com\allurent\coverage\runtime\CoverageManager.as:196]</description>
		<content:encoded><![CDATA[<p>Thanks Joe, the flushing now works fine but there is an error just before the coverageManager tries to shutdown the application:</p>
<p>ReferenceError: Error #1065: Variable NativeApplication is not defined.<br />
	at global/flash.utils::getDefinitionByName()<br />
	at com.allurent.coverage.runtime::CoverageManager$/checkForExit()[C:\work\flex\3.0.x\frameworks\projects\utilities\src\com\allurent\coverage\runtime\CoverageManager.as:203]<br />
	at com.allurent.coverage.runtime::CoverageManager$/handleStatus()[C:\work\flex\3.0.x\frameworks\projects\utilities\src\com\allurent\coverage\runtime\CoverageManager.as:196]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joe</title>
		<link>http://joeberkovitz.com/blog/2008/04/12/flex-air-code-coverage-announce/comment-page-1/#comment-233</link>
		<dc:creator>joe</dc:creator>
		<pubDate>Thu, 24 Apr 2008 10:12:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.joeberkovitz.com/blog/2008/04/12/flex-air-code-coverage-announce/#comment-233</guid>
		<description>Robert, if you are running an automated test suite that exits when finished, don&#039;t call System.exit() or fscommand(quit).   Instead call CoverageManager.exit() at the end of your test suite to first flush out all the accumulated data to the LocalConnection and exit only when that has happened.</description>
		<content:encoded><![CDATA[<p>Robert, if you are running an automated test suite that exits when finished, don&#8217;t call System.exit() or fscommand(quit).   Instead call CoverageManager.exit() at the end of your test suite to first flush out all the accumulated data to the LocalConnection and exit only when that has happened.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://joeberkovitz.com/blog/2008/04/12/flex-air-code-coverage-announce/comment-page-1/#comment-227</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Thu, 24 Apr 2008 10:00:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.joeberkovitz.com/blog/2008/04/12/flex-air-code-coverage-announce/#comment-227</guid>
		<description>Found another issue and I&#039;m not sure if this depends on flexCover or flexUnit (we&#039;re using a slight modified version).  When running a test suite, only the first test that is executed (which one seems not to be deterministic) sends its results to the coverageViewer. Is this something you&#039;ve seen too ?</description>
		<content:encoded><![CDATA[<p>Found another issue and I&#8217;m not sure if this depends on flexCover or flexUnit (we&#8217;re using a slight modified version).  When running a test suite, only the first test that is executed (which one seems not to be deterministic) sends its results to the coverageViewer. Is this something you&#8217;ve seen too ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joe</title>
		<link>http://joeberkovitz.com/blog/2008/04/12/flex-air-code-coverage-announce/comment-page-1/#comment-225</link>
		<dc:creator>joe</dc:creator>
		<pubDate>Wed, 23 Apr 2008 16:33:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.joeberkovitz.com/blog/2008/04/12/flex-air-code-coverage-announce/#comment-225</guid>
		<description>Robert -- I&#039;m aware of this problem, which occurs when the top level application SWF is either not compiled with -coverage, or it is not a Flex/AIR application.

There are two workarounds: one is to compile your top-level application SWF with -coverage (assuming it&#039;s a Flex or AIR app).  The other way is to include the following snippet somewhere in a class within the SWF that is compiled with -coverage:
&lt;br/&gt;&lt;br/&gt;
import coverage; coverage;

I am working on this problem and hope to make this issue disappear in the next relrease.</description>
		<content:encoded><![CDATA[<p>Robert &#8212; I&#8217;m aware of this problem, which occurs when the top level application SWF is either not compiled with -coverage, or it is not a Flex/AIR application.</p>
<p>There are two workarounds: one is to compile your top-level application SWF with -coverage (assuming it&#8217;s a Flex or AIR app).  The other way is to include the following snippet somewhere in a class within the SWF that is compiled with -coverage:</p>
<p>import coverage; coverage;</p>
<p>I am working on this problem and hope to make this issue disappear in the next relrease.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://joeberkovitz.com/blog/2008/04/12/flex-air-code-coverage-announce/comment-page-1/#comment-226</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Wed, 23 Apr 2008 16:15:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.joeberkovitz.com/blog/2008/04/12/flex-air-code-coverage-announce/#comment-226</guid>
		<description>Great work, it works very good. I&#039;m having trouble integrating with a large project though. I&#039;m running
the compiler from the command line and that works well. The problem occurrs when starting the compiled swf since an exception is thrown:
ReferenceError: Error #1065: Variable coverage is not defined.
This only happens when the -coverge parameter is set during compilation of the swf. It does however create the metadata file with information but I cant run the app since that exception is thrown. Do you have any clue ?</description>
		<content:encoded><![CDATA[<p>Great work, it works very good. I&#8217;m having trouble integrating with a large project though. I&#8217;m running<br />
the compiler from the command line and that works well. The problem occurrs when starting the compiled swf since an exception is thrown:<br />
ReferenceError: Error #1065: Variable coverage is not defined.<br />
This only happens when the -coverge parameter is set during compilation of the swf. It does however create the metadata file with information but I cant run the app since that exception is thrown. Do you have any clue ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joe</title>
		<link>http://joeberkovitz.com/blog/2008/04/12/flex-air-code-coverage-announce/comment-page-1/#comment-230</link>
		<dc:creator>joe</dc:creator>
		<pubDate>Mon, 14 Apr 2008 21:49:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.joeberkovitz.com/blog/2008/04/12/flex-air-code-coverage-announce/#comment-230</guid>
		<description>You should be able to launch the CoverageViewer from Java, it&#039;s just an executable that takes command line arguments.  Ant is written in Java, and Ant drives all the examples in the project.  Use the &quot;-v&quot; switch with Ant to see how it actually invokes the viewer.</description>
		<content:encoded><![CDATA[<p>You should be able to launch the CoverageViewer from Java, it&#8217;s just an executable that takes command line arguments.  Ant is written in Java, and Ant drives all the examples in the project.  Use the &#8220;-v&#8221; switch with Ant to see how it actually invokes the viewer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: VELO</title>
		<link>http://joeberkovitz.com/blog/2008/04/12/flex-air-code-coverage-announce/comment-page-1/#comment-231</link>
		<dc:creator>VELO</dc:creator>
		<pubDate>Mon, 14 Apr 2008 21:14:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.joeberkovitz.com/blog/2008/04/12/flex-air-code-coverage-announce/#comment-231</guid>
		<description>Hi Joe,

Is there any plan for a java Runner?

I would like to launch it from flex-mojos (My project, who adds flex compilation and tests for flex)

Any plans for anything like that?


VELO</description>
		<content:encoded><![CDATA[<p>Hi Joe,</p>
<p>Is there any plan for a java Runner?</p>
<p>I would like to launch it from flex-mojos (My project, who adds flex compilation and tests for flex)</p>
<p>Any plans for anything like that?</p>
<p>VELO</p>
]]></content:encoded>
	</item>
</channel>
</rss>
