<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>free Zend Framework screencasts - Zendcasts &#187; phpunit</title>
	<atom:link href="http://www.zendcasts.com/tag/phpunit/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zendcasts.com</link>
	<description>free Zend Framework screencasts. Video tutorials to get you up to speed with different parts of the Zend Framework and enterprise PHP development.</description>
	<lastBuildDate>Mon, 12 Dec 2011 21:14:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Unit Testing your HTTP Requests</title>
		<link>http://www.zendcasts.com/unit-testing-your-http-requests/2010/09/</link>
		<comments>http://www.zendcasts.com/unit-testing-your-http-requests/2010/09/#comments</comments>
		<pubDate>Thu, 23 Sep 2010 09:12:43 +0000</pubDate>
		<dc:creator>jon</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[phpunit]]></category>
		<category><![CDATA[zend_controller]]></category>
		<category><![CDATA[zend_test]]></category>

		<guid isPermaLink="false">http://www.zendcasts.com/?p=451</guid>
		<description><![CDATA[A couple days ago, Till Klampaeckel just posted a very interesting plugin for PHPUnit that helps you debug your Zend Controller testcases by providing header information. He&#8217;s posted the code on GitHub and provided a real-world example of how to use the plugin for debugging your unit tests effectively. This approach takes advantage of the…]]></description>
			<content:encoded><![CDATA[<p>A couple days ago, <a href="http://till.klampaeckel.de/blog/archives/116-Debugging-Zend_Test.html">Till Klampaeckel just posted a very interesting plugin</a> for PHPUnit that helps you debug your Zend Controller testcases by providing header information. He&#8217;s <a href="http://github.com/till/Lagged_Test_PHPUnit_ControllerTestCase_Listener/blob/master/Lagged/Test/PHPUnit/ControllerTestCase/Listener.php">posted the code on GitHub</a> and provided a real-world example of how to use the plugin for debugging your unit tests effectively. This approach takes advantage of the event-listener architecture of PHPUnit.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zendcasts.com/unit-testing-your-http-requests/2010/09/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Writing Doctrine Unit Tests with Zend_Test</title>
		<link>http://www.zendcasts.com/writing-doctrine-unit-tests-with-zend_test/2009/12/</link>
		<comments>http://www.zendcasts.com/writing-doctrine-unit-tests-with-zend_test/2009/12/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 05:40:34 +0000</pubDate>
		<dc:creator>jon</dc:creator>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[Doctrine]]></category>
		<category><![CDATA[Unit Testing]]></category>
		<category><![CDATA[doctrine]]></category>
		<category><![CDATA[mamp]]></category>
		<category><![CDATA[phpunit]]></category>
		<category><![CDATA[zend_test]]></category>

		<guid isPermaLink="false">http://www.zendcasts.com/?p=284</guid>
		<description><![CDATA[Building on the Introduction to Doctrine 1.2 video, this video will show how you can easily test the persistence of Doctrine models within the Zend_Test environment. I also touch briefly on how to setup the latest version of MAMP with phpunit. Edit: I spoke to Guilherme Blanco (one of the core developers behind Doctrine) and…]]></description>
			<content:encoded><![CDATA[<p>Building on the Introduction to Doctrine 1.2 video, this video will show how you can easily test the persistence of Doctrine models within the Zend_Test environment.</p>
<p>I also touch briefly on how to setup the latest version of MAMP with phpunit. </p>
<p><strong>Edit:</strong> I spoke to Guilherme Blanco (one of the core developers behind Doctrine) and he kindly brought up some things I should bear in mind for my Doctrine / Zend set.<br />
Doctrine&#8217;s autoloader configuration <a href="http://www.doctrine-project.org/upgrade/1_2#PEAR%20Style%20Model%20Loading%20and%20Generation">can be scaled back by doing PEAR style Model Loading (new to 1.2)</a>. Also, you can use Doctrine_Core instead of Doctrine since everything has been moved to Doctrine_Core in order to follow Zend-style namespacing.</p>
<p>lastly, you can register your own CLI tasks as part of Doctrine&#8217;s CLI script or just write them in the scripts/doctrine.php file. With this, you could have your newly-generated models placed in the necessary folders. I&#8217;ll be experimenting with this in the coming week.</p>
<p>Enjoy!</p>

 <p><a href="http://www.zendcasts.com/?flattrss_redirect&amp;id=284&amp;md5=adba491a543ac35f19c511004a30b3f6" title="Flattr" target="_blank"><img src="http://www.zendcasts.com/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.zendcasts.com/writing-doctrine-unit-tests-with-zend_test/2009/12/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
<enclosure url="http://zendcasts.com/wp-content/uploads/2009/12/zc39-writing-zend-tests-with-doctrine-models-desktop.mov" length="49443489" type="video/quicktime" />
<enclosure url="http://zendcasts.com/wp-content/uploads/2009/12/zc39-writing-zend-tests-with-doctrine-models-iphone.m4v" length="49634577" type="video/x-m4v" />
		</item>
		<item>
		<title>Zend Acl with Authentication and Reflection</title>
		<link>http://www.zendcasts.com/zend-acl-with-authentication-and-reflection/2009/06/</link>
		<comments>http://www.zendcasts.com/zend-acl-with-authentication-and-reflection/2009/06/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 15:18:59 +0000</pubDate>
		<dc:creator>jon</dc:creator>
				<category><![CDATA[Access Control]]></category>
		<category><![CDATA[Unit Testing]]></category>
		<category><![CDATA[Web Architecture]]></category>
		<category><![CDATA[phpunit]]></category>
		<category><![CDATA[refactoring]]></category>
		<category><![CDATA[reflection]]></category>
		<category><![CDATA[unit tests]]></category>
		<category><![CDATA[unittest]]></category>
		<category><![CDATA[Zend_Acl]]></category>

		<guid isPermaLink="false">http://www.zendcasts.com/?p=217</guid>
		<description><![CDATA[This video tutorial is going to look at how we can build a simple authentication mechanism with Zend_Acl with complete unit test coverage. I wouldn&#8217;t say that this is entirely the Zend way of doing things since we&#8217;re not using Zend_Auth, however it would be relatively trivial to create a Zend_Auth Adapter for each of…]]></description>
			<content:encoded><![CDATA[<p>This video tutorial is going to look at how we can build a simple authentication mechanism with Zend_Acl with complete unit test coverage. I wouldn&#8217;t say that this is entirely the Zend way of doing things since we&#8217;re not using Zend_Auth, however it would be relatively trivial to create a Zend_Auth Adapter for each of the lookup objects that we&#8217;re going to write. Lately I&#8217;ve been trying to stay disciplined about how I&#8217;m writing unit tests and so I figure this should translate into what I&#8217;m teaching. I inadvertently covered using reflection in a refactoring job. When you <a href="http://code.google.com/p/zendcasts/source/browse/#svn/trunk/zc28-zend-acl-with-authentication-and-reflection">browse the source code</a>, you&#8217;ll see that there&#8217;s even more potential for refactoring outside the video with the application of an interface.<br />
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zendcasts.com/zend-acl-with-authentication-and-reflection/2009/06/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2009/06/zc28-zend-acl-reflection-authentication-iphone.m4v" length="158130583" type="text/plain" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2009/06/zc28-zend-acl-reflection-authentication-screen.mov" length="174325667" type="video/quicktime" />
		</item>
		<item>
		<title>Unit Testing with the Zend Framework with Zend_Test and PHPUnit</title>
		<link>http://www.zendcasts.com/unit-testing-with-the-zend-framework-with-zend_test-and-phpunit/2009/06/</link>
		<comments>http://www.zendcasts.com/unit-testing-with-the-zend-framework-with-zend_test-and-phpunit/2009/06/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 13:37:32 +0000</pubDate>
		<dc:creator>jon</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Unit Testing]]></category>
		<category><![CDATA[Web Architecture]]></category>
		<category><![CDATA[code coverage]]></category>
		<category><![CDATA[phpunit]]></category>
		<category><![CDATA[zend_controller]]></category>
		<category><![CDATA[zend_test]]></category>

		<guid isPermaLink="false">http://www.zendcasts.com/?p=209</guid>
		<description><![CDATA[I have to preface this video by saying that I&#8217;m still a bit of a novice when it comes to unit testing (especially in Zend). Also, I feel that I wouldn&#8217;t be able to take credit for the whole implementation. Here are some great resources on unit testing in the Zend Framework to beef up…]]></description>
			<content:encoded><![CDATA[<p>I have to preface this video by saying that I&#8217;m still a bit of a novice when it comes to unit testing (especially in Zend). Also, I feel that I wouldn&#8217;t be able to take credit for the whole implementation.</p>
<p>Here are some great resources on unit testing in the Zend Framework to beef up your knowledge.</p>
<ul>
<li>
<a href="http://maff.ailoo.net/2009/04/set-up-a-zend-framework-application-using-zend_application-including-phpunit-setup/#add-unit-testing">Set up a Zend Framework application using Zend_Application (including PHPUnit setup)</a></li>
<li><a href="http://weierophinney.net/matthew/archives/182-Testing-Zend-Framework-MVC-Applications.html">Testing Zend Framework MVC Applications  &#8211; phly, boy, phly</a></li>
<li><a href="http://github.com/weierophinney/pastebin">Matthew&#8217;s pastebin</a></li>
</ul>
<p>The trouble with these is that they&#8217;re mostly pre-1.8. I&#8217;ve taken the approach of using a command line instead of the IDE since this way it doesn&#8217;t matter if you&#8217;re using Zend Studio for Eclipse.</p>
<p>What&#8217;s covered:</p>
<ul>
<li>Using phpunit with MAMP</li>
<li>Unit Testing Models</li>
<li>Generating Code Coverage Reports</li>
<li>Unit Testing Controllers</li>
</ul>
<p>Don&#8217;t forget to <a href="http://www.zendcasts.com/wp-content/uploads/2009/06/zc25-unit-testing.zip">grab the source code</a> or <a href="http://code.google.com/p/zendcasts/source/browse/#svn/trunk/zc25-unit-testing">browse it on google code</a>.</p>

]]></content:encoded>
			<wfw:commentRss>http://www.zendcasts.com/unit-testing-with-the-zend-framework-with-zend_test-and-phpunit/2009/06/feed/</wfw:commentRss>
		<slash:comments>105</slash:comments>
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2009/06/zc25-unit-testing-in-1.8-iphone.m4v" length="138671703" type="text/plain" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2009/06/zc25-unit-testing-in-1.8-screen.mov" length="147713759" type="video/quicktime" />
		</item>
	</channel>
</rss>

