<?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>Sat, 25 May 2013 16:34:31 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Dave Marshall's Blog: How I'm doing TDD with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/18059</guid>
      <link>http://www.phpdeveloper.org/news/18059</link>
      <description><![CDATA[<p>
<I>Dave Marshall</i> has shared his method behind <a href="http://davedevelopment.co.uk/2012/06/06/how-im-doing-tdd.html">using test-driven development</a> in his recent development.
</p>
<blockquote>
I've been watching the Destroy All Software back catalog over the last couple of months and it's really inspired me to up my TDD game. I'm still fairly new to TDD, I've written tests for a long time, but never really let it lead my development…
</blockquote>
<p>
He talks about the testing tool <a href="http://phpunit.de/">he uses</a> and some of the ideals he keeps in mind when developing his tests. He also comments on testing isolation, speed of execution, the "fail fast" idea as well as integration testing and continuous integration.
</p>]]></description>
      <pubDate>Thu, 07 Jun 2012 11:31:51 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Freek Lijten's Blog: Book Review - Growing Object-oriented software guided by tests]]></title>
      <guid>http://www.phpdeveloper.org/news/17661</guid>
      <link>http://www.phpdeveloper.org/news/17661</link>
      <description><![CDATA[<p>
<i>Freek Lijten</i> has <a href="http://www.freeklijten.nl/home/2012/03/10/Book-Review-Growing-Object-oriented-software-guided-by-tests">a new post</a> to his blog - a review of a book (from Freeman & Price) called "Growing Object-Oriented Software Guided by Tests". It's based on Java, but the ideas presented can be applied pretty universally.
</p>
<blockquote>
It may seem strange but I'd like to start out with giving my opinion on this book: It is brilliant! If you don't like reading my post you at least know what you should do next: buy the friggin' <a href="http://www.amazon.com/Growing-Object-Oriented-Software-Guided-Tests/dp/0321503627">book</a>. The book offers some theory concerning agile development, (unit-)testing and code quality but its killer feature is the almost 200 page long example of developing an application the TDD way! In the rest of this post I will shortly highlight different parts of the books and stuff I enjoyed or learned from it.
</blockquote>
<p>
He breaks up the review in to a few different parts - the process of test-driven development, his "first real lesson", their working example and a section about the more advanced topic of sustainable test driven development.
</p>]]></description>
      <pubDate>Mon, 12 Mar 2012 13:57:57 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: Learn Test-Driven Development with Munchkin]]></title>
      <guid>http://www.phpdeveloper.org/news/14904</guid>
      <link>http://www.phpdeveloper.org/news/14904</link>
      <description><![CDATA[<p>
In <a href="http://giorgiosironi.blogspot.com/2010/08/munchkin-learning-test-driven.html">this new post</a> to his blog <i>Giorgio Sironi</i> points out <a href="http://alternateillusion.com/2010/07/22/munchkin-a-k-a-learn-greenfield-tdd-with-php/">a new project</a> that wants to help you get started with test-driven development - Munchkin.
</p>
<blockquote>
Meszaros Marton and other PHP coders <a href="http://alternateillusion.com/2010/07/22/munchkin-a-k-a-learn-greenfield-tdd-with-php/">have started a Test-Driven Development project</a> centered on showing the methodology to new adopters in a green field. The goal of the project, named Munchkin, is creating a feed aggregator - like Google Reader - from scratch. The authors will post a series of articles about their development process along the way. If you want to follow a step-by-step guide to implementing an Agile project with TDD in PHP, <a href="http://alternateillusion.com/category/munchkin/">follow them</a>. 
</blockquote>
<p>
Their goal is to show you not only how TDD can make your application better but detailed tutorials on setting up your environment and making effective use of the tools in an agile environment.
</p>]]></description>
      <pubDate>Wed, 04 Aug 2010 12:09:04 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Project: MakeGood - A test runner for doing Test Driven Development with Eclipse PDT]]></title>
      <guid>http://www.phpdeveloper.org/news/14759</guid>
      <link>http://www.phpdeveloper.org/news/14759</link>
      <description><![CDATA[<p>
<i>Goran</i> has pointed out a plugin for Eclipse that can help those out there wanting to adopt Test-Driven Development into their process - <a href="http://redmine.piece-framework.com/projects/makegood/wiki">MakeGood</a> (<a href="http://redmine.piece-framework.com/attachments/download/202">screenshot here</a>).
</p>
<blockquote>
MakeGood provides a test runner to run unit tests on Eclipse PDT. MakeGood strongly supports Test Driven Development (TDD) by various features.
</blockquote>
<p>Features in the plugin include:</p>
<ul>
<li>Runs all tests when a file is saved.
<li>Debugs a test.
<li>Reruns the last test.
<li>Can use the system include path when running tests.
</ul>
<p>
It supports both PHPUnit and SimpleTest so you're covered either way. It also supports the Zend Debugger and Xdebug for help with your debugging needs.
</p>]]></description>
      <pubDate>Wed, 07 Jul 2010 13:39:56 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Avnet Labs Blog: TDD with Zend Framework]]></title>
      <guid>http://www.phpdeveloper.org/news/13475</guid>
      <link>http://www.phpdeveloper.org/news/13475</link>
      <description><![CDATA[<p>
On the Avnet Labs blog today <i>Ekerete</i> has <a href="http://avnetlabs.com/zend-framework/tdd-with-zend-framework">kicked off a new series</a> looking specifically at using test-driven design to create Zend Framework-based applications:
</p>
<blockquote>
However, as useful as the series [from Jani Hartikainen on TTD] is, it doesn't provide answers to Zend Framework specific testing issues (and considering all the ZF-specific posts on his site, that's quite surprising). [...] In the coming weeks, I'll put together a how-to on testing ZF applications using a Test Driven Development (TDD) approach. With TDD tests are written first and as such the test suite guides the design of the production code. 
</blockquote>
<p>
He shows how to set up a sample application, the <a href="http://github.com/jara/jara-base/tree/master">Jira Base</a>, and how to set up a simple base-level test.
</p>]]></description>
      <pubDate>Tue, 03 Nov 2009 12:55:57 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Jani Hartikainen's Blog: Unit testing 5: test-driven development]]></title>
      <guid>http://www.phpdeveloper.org/news/12817</guid>
      <link>http://www.phpdeveloper.org/news/12817</link>
      <description><![CDATA[<p>
<i>Jani Hartikainen</i> has <a href="http://codeutopia.net/blog/2009/07/04/unit-testing-5-test-driven-development/">posted part five</a> of his look at unit testing in PHP (with PHPUnit) focusing on test-driven development.
</p>
<blockquote>
The difference between "normal" and test-driven development (TDD) is that when doing TDD, you write unit tests for your new code before writing the code itself. This way you ensure good test coverage for your code, and your code will also be more flexible and reusable, as you have to design the class interfaces for easy testing.
</blockquote>
<p>
He looks at some of the basics - like preconditions and postconditions - and how to create the tests for your application before you write a single line of (non-test) code. His examples show evaluations for testing for an empty order and to see if an object has an item in it after it's been added.
</p>]]></description>
      <pubDate>Mon, 06 Jul 2009 22:06:27 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPImpact Blog: TDD with Symfony: The first test always fails]]></title>
      <guid>http://www.phpdeveloper.org/news/10528</guid>
      <link>http://www.phpdeveloper.org/news/10528</link>
      <description><![CDATA[<p>
On the PHP::Impact blog, <i>Federico Cargnelutti</i> has <a href="http://phpimpact.wordpress.com/2008/07/02/tdd-with-symfony-te-first-test-always-fails/">posted about</a> test-driven design, specifically with the Symfony framework.
</p>
<blockquote>
Symfony is one of the few PHP frameworks that gives you basic tools for starting to write tests. [...] Symfony also provides an extension of this class called sfTestBrowser, designed especially for functional tests, which has all the abilities of the sfBrowser object plus some smart assert methods.
</blockquote>
<p>
He uses this sfTestBrowser object to run an example test on a same get() call's response. It should match the regular expression of "/This is a temporary page/" but doesn't so it fails. Writing up tests like this for new parts of your application first would be considered test-driven development and the Symfony framework makes that simple.
</p>]]></description>
      <pubDate>Wed, 02 Jul 2008 09:33:26 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Raphael Stolt's Blog: PHP in Action book review]]></title>
      <guid>http://www.phpdeveloper.org/news/7898</guid>
      <link>http://www.phpdeveloper.org/news/7898</link>
      <description><![CDATA[<p>
<i>Raphael Stolt</i> has <a href="http://raphaelstolt.blogspot.com/2007/03/php-in-action-book-review.html">posted a book review</a> of one of Manning Publishing's PHP-related books, "PHP in Action: Modern Software Practices for PHP".
</p>
<blockquote>
Over the last few days I got the chance to skim through the upcoming Manning release "<a href="http://manning.com/reiersol/">PHP in Action: Modern Software Practices for PHP</a>" by Dagfinn ReiersÃ¸l et al. The reviewed book is seperated into four main parts, covering lots of interesting topics in a good and fluent writing style.
</blockquote>
<p>
<i>Raphael</i> outlines the book, mentioning the four parts the book is divided up into:
<ul>
<li>Basic PHP tools and concepts
<li>Developing applications via Test Driven Development
<li>Web presentation and user interfaces
<li>Object-oriented development including things like database abstraction
</ul>
<i>Raphael</i> gives the book a positive rating and recommends it for anyone that has the basics down and is looking to extend their knowledge that much more.
</p>]]></description>
      <pubDate>Wed, 23 May 2007 07:54:00 -0500</pubDate>
    </item>
  </channel>
</rss>
