<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Testing Zend Framework Action Controllers With Mocks</title>
	<atom:link href="http://blog.fedecarg.com/2009/11/01/testing-zend-framework-action-controllers-with-mocks/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.fedecarg.com/2009/11/01/testing-zend-framework-action-controllers-with-mocks/</link>
	<description>Simple is better than complex. Complex is better than complicated. &#124; @fedecarg</description>
	<lastBuildDate>Mon, 06 Feb 2012 14:38:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Federico</title>
		<link>http://blog.fedecarg.com/2009/11/01/testing-zend-framework-action-controllers-with-mocks/#comment-5304</link>
		<dc:creator><![CDATA[Federico]]></dc:creator>
		<pubDate>Thu, 11 Feb 2010 10:45:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.fedecarg.com/?p=1784#comment-5304</guid>
		<description><![CDATA[You have to set the default controller.]]></description>
		<content:encoded><![CDATA[<p>You have to set the default controller.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ezee</title>
		<link>http://blog.fedecarg.com/2009/11/01/testing-zend-framework-action-controllers-with-mocks/#comment-5301</link>
		<dc:creator><![CDATA[ezee]]></dc:creator>
		<pubDate>Wed, 10 Feb 2010 16:22:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.fedecarg.com/?p=1784#comment-5301</guid>
		<description><![CDATA[Hi. First of all, great article. However, I’m having trouble setting a new Dispatcher. When I try to set one I am getting the message, “No default module defined for this application”.]]></description>
		<content:encoded><![CDATA[<p>Hi. First of all, great article. However, I’m having trouble setting a new Dispatcher. When I try to set one I am getting the message, “No default module defined for this application”.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Federico</title>
		<link>http://blog.fedecarg.com/2009/11/01/testing-zend-framework-action-controllers-with-mocks/#comment-4923</link>
		<dc:creator><![CDATA[Federico]]></dc:creator>
		<pubDate>Tue, 17 Nov 2009 22:28:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.fedecarg.com/?p=1784#comment-4923</guid>
		<description><![CDATA[Yes, I had the same issue and it was solved by doing exactly what Michelangelo said :)]]></description>
		<content:encoded><![CDATA[<p>Yes, I had the same issue and it was solved by doing exactly what Michelangelo said :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michelangelo van Dam</title>
		<link>http://blog.fedecarg.com/2009/11/01/testing-zend-framework-action-controllers-with-mocks/#comment-4921</link>
		<dc:creator><![CDATA[Michelangelo van Dam]]></dc:creator>
		<pubDate>Tue, 17 Nov 2009 18:08:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.fedecarg.com/?p=1784#comment-4921</guid>
		<description><![CDATA[@Karl,

I have experienced this too a couple of times when using ZF 1.8 series. I managed to bypass this exception by setting the &quot;default&quot; controllers and views directory in APPLICATION_PATH &quot;/application&quot;, although I had a default module specified within the APPLICATION_PATH &quot;/modules&quot; directory.

Hope this works for you as well, but I strongly suggest to upgrade to 1.9.x if it&#039;s possible.]]></description>
		<content:encoded><![CDATA[<p>@Karl,</p>
<p>I have experienced this too a couple of times when using ZF 1.8 series. I managed to bypass this exception by setting the &#8220;default&#8221; controllers and views directory in APPLICATION_PATH &#8220;/application&#8221;, although I had a default module specified within the APPLICATION_PATH &#8220;/modules&#8221; directory.</p>
<p>Hope this works for you as well, but I strongly suggest to upgrade to 1.9.x if it&#8217;s possible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karl Purkhardt</title>
		<link>http://blog.fedecarg.com/2009/11/01/testing-zend-framework-action-controllers-with-mocks/#comment-4917</link>
		<dc:creator><![CDATA[Karl Purkhardt]]></dc:creator>
		<pubDate>Tue, 17 Nov 2009 15:40:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.fedecarg.com/?p=1784#comment-4917</guid>
		<description><![CDATA[Hi.  First of all, great article.  However, I&#039;m having trouble setting a new Dispatcher.  When I try to set one I am getting the message, &quot;No default module defined for this application&quot;. Could you provide an example of how you setup your new Dispatcher?]]></description>
		<content:encoded><![CDATA[<p>Hi.  First of all, great article.  However, I&#8217;m having trouble setting a new Dispatcher.  When I try to set one I am getting the message, &#8220;No default module defined for this application&#8221;. Could you provide an example of how you setup your new Dispatcher?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Max’ Lesestoff zum Wochenende</title>
		<link>http://blog.fedecarg.com/2009/11/01/testing-zend-framework-action-controllers-with-mocks/#comment-4743</link>
		<dc:creator><![CDATA[Max’ Lesestoff zum Wochenende]]></dc:creator>
		<pubDate>Sat, 07 Nov 2009 06:00:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.fedecarg.com/?p=1784#comment-4743</guid>
		<description><![CDATA[[...] Stairs firefox erweiterung für firebug um das aktuelle element das den focus hat hervorzuheben   Testing Zend Framework Action Controllers With Mocks « Federico Cargnelutti Zend Framework Controller mit Mocks testen.   Interactive CouchDB &#124; Mu Dynamics This is a CouchDB [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Stairs firefox erweiterung für firebug um das aktuelle element das den focus hat hervorzuheben   Testing Zend Framework Action Controllers With Mocks « Federico Cargnelutti Zend Framework Controller mit Mocks testen.   Interactive CouchDB | Mu Dynamics This is a CouchDB [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Federico</title>
		<link>http://blog.fedecarg.com/2009/11/01/testing-zend-framework-action-controllers-with-mocks/#comment-4724</link>
		<dc:creator><![CDATA[Federico]]></dc:creator>
		<pubDate>Thu, 05 Nov 2009 09:28:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.fedecarg.com/?p=1784#comment-4724</guid>
		<description><![CDATA[Thanks :)]]></description>
		<content:encoded><![CDATA[<p>Thanks :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michelangelo van Dam</title>
		<link>http://blog.fedecarg.com/2009/11/01/testing-zend-framework-action-controllers-with-mocks/#comment-4723</link>
		<dc:creator><![CDATA[Michelangelo van Dam]]></dc:creator>
		<pubDate>Thu, 05 Nov 2009 08:34:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.fedecarg.com/?p=1784#comment-4723</guid>
		<description><![CDATA[Very nice example of mocking action controllers.

Great job !]]></description>
		<content:encoded><![CDATA[<p>Very nice example of mocking action controllers.</p>
<p>Great job !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PHPUnit: Testing Zend Framework Controllers</title>
		<link>http://blog.fedecarg.com/2009/11/01/testing-zend-framework-action-controllers-with-mocks/#comment-4705</link>
		<dc:creator><![CDATA[PHPUnit: Testing Zend Framework Controllers]]></dc:creator>
		<pubDate>Mon, 02 Nov 2009 13:06:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.fedecarg.com/?p=1784#comment-4705</guid>
		<description><![CDATA[[...] post: Testing Zend Framework Action Controllers With Mocks Possibly related posts: (automatically generated)Testing Zend Framework Action Controllers With [...]]]></description>
		<content:encoded><![CDATA[<p>[...] post: Testing Zend Framework Action Controllers With Mocks Possibly related posts: (automatically generated)Testing Zend Framework Action Controllers With [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Giorgio Sironi</title>
		<link>http://blog.fedecarg.com/2009/11/01/testing-zend-framework-action-controllers-with-mocks/#comment-4704</link>
		<dc:creator><![CDATA[Giorgio Sironi]]></dc:creator>
		<pubDate>Sun, 01 Nov 2009 16:58:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.fedecarg.com/?p=1784#comment-4704</guid>
		<description><![CDATA[It is indeed useful to mock the render() method to avoid having to write a view script only to query it, even if I strive for thin controllers that delegates to domain layer.
What I miss here and more generally in Zend Framework is a dependency injection container, since I would naturally define the dependencies of the controller in its constructor. This way I would only need to instantiate the controller class to test it and call its methods.]]></description>
		<content:encoded><![CDATA[<p>It is indeed useful to mock the render() method to avoid having to write a view script only to query it, even if I strive for thin controllers that delegates to domain layer.<br />
What I miss here and more generally in Zend Framework is a dependency injection container, since I would naturally define the dependencies of the controller in its constructor. This way I would only need to instantiate the controller class to test it and call its methods.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

