<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Fri, 09 Jan 2009 06:33:52 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHP in Action Blog: Testing a Zend Framework action controller with View Helpers]]></title>
      <guid>http://www.phpdeveloper.org/news/10384</guid>
      <link>http://www.phpdeveloper.org/news/10384</link>
      <description><![CDATA[<p>
On the PHP in Action blog, there's a <a href="http://www.reiersol.com/blog/1_php_in_action/archive/70_testing_a_zend_framework_action_controller_with_view_helpers.html">new post</a> about a method for testing a controller as a part of a Zend Framework application with its own view helpers.
</p>
<blockquote>
I came across a Zend Framework (ZF) example I wanted to refactor. You really have to have unit test coverage to refactor effectively, and since there were no tests, I started trying to find out how to test it. There didn't seem to be a wealth of information available on the web, so I've tried to figure it out by myself.
</blockquote>
<p>
He walks through the testing process he followed - making some new default objects (for SimpleTest) and, using the flash messenger view helper, makes some mock classes to simulate sending the flash messages in an application.
</p>]]></description>
      <pubDate>Wed, 11 Jun 2008 07:56:11 -0500</pubDate>
    </item>
  </channel>
</rss>
