<?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: Testing Proxies in PureMVC</title>
	<atom:link href="http://blog.flexiblediamond.com/2008/06/testing-proxies-in-puremvc/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexiblediamond.com/2008/06/testing-proxies-in-puremvc/</link>
	<description></description>
	<lastBuildDate>Fri, 31 Jul 2009 19:31:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: jamesk</title>
		<link>http://blog.flexiblediamond.com/2008/06/testing-proxies-in-puremvc/comment-page-1/#comment-22</link>
		<dc:creator>jamesk</dc:creator>
		<pubDate>Wed, 11 Jun 2008 21:16:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hoardinghopes.com/?p=55#comment-22</guid>
		<description>@Luke: Yes, as it happens that&#039;s exactly what I&#039;ve done in the real version. I just stripped it out of this example code for brevity&#039;s sake :)</description>
		<content:encoded><![CDATA[<p>@Luke: Yes, as it happens that&#8217;s exactly what I&#8217;ve done in the real version. I just stripped it out of this example code for brevity&#8217;s sake <img src='http://blog.flexiblediamond.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke Bayes</title>
		<link>http://blog.flexiblediamond.com/2008/06/testing-proxies-in-puremvc/comment-page-1/#comment-20</link>
		<dc:creator>Luke Bayes</dc:creator>
		<pubDate>Wed, 11 Jun 2008 16:51:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hoardinghopes.com/?p=55#comment-20</guid>
		<description>This article is great - thanks for putting it together!

A quick gotcha - about the run() method.

Keep in mind that the run() method is only called once per test case and could lead to interacting tests unless you clone that configured proxy in your setUp() method so that tests can interact with their own unique instances.

One way that we&#039;ve solved the same problem (using ActionScript 3), is to move our asynchronous functionality into commands, and keep our proxies all synchronous all the time. I know that Cliff disagrees with that design decision, but it worked well for us and allowed us to more easily separate and share services across different features.</description>
		<content:encoded><![CDATA[<p>This article is great &#8211; thanks for putting it together!</p>
<p>A quick gotcha &#8211; about the run() method.</p>
<p>Keep in mind that the run() method is only called once per test case and could lead to interacting tests unless you clone that configured proxy in your setUp() method so that tests can interact with their own unique instances.</p>
<p>One way that we&#8217;ve solved the same problem (using ActionScript 3), is to move our asynchronous functionality into commands, and keep our proxies all synchronous all the time. I know that Cliff disagrees with that design decision, but it worked well for us and allowed us to more easily separate and share services across different features.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Larry Marburger</title>
		<link>http://blog.flexiblediamond.com/2008/06/testing-proxies-in-puremvc/comment-page-1/#comment-19</link>
		<dc:creator>Larry Marburger</dc:creator>
		<pubDate>Wed, 11 Jun 2008 13:38:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hoardinghopes.com/?p=55#comment-19</guid>
		<description>Great to meet another fellow PureMVC unit tester!

Now I know I&#039;m not completely insane as there&#039;s at least one other person out there who couldn&#039;t figure out a &quot;correct&quot; way to unit test PureMVC.

I do like your implementation.  In some aspects it makes more sense because with mine you need to pass some view component in order to use registerObserver which isn&#039;t very clean.  I didn&#039;t do enough research to see if there is a better method for registering Observers without needing to use registerObserver() on an IView.</description>
		<content:encoded><![CDATA[<p>Great to meet another fellow PureMVC unit tester!</p>
<p>Now I know I&#8217;m not completely insane as there&#8217;s at least one other person out there who couldn&#8217;t figure out a &#8220;correct&#8221; way to unit test PureMVC.</p>
<p>I do like your implementation.  In some aspects it makes more sense because with mine you need to pass some view component in order to use registerObserver which isn&#8217;t very clean.  I didn&#8217;t do enough research to see if there is a better method for registering Observers without needing to use registerObserver() on an IView.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
