<?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>Thu, 20 Jun 2013 04:39:53 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Web Mozarts Blog: Easy Unit Testing]]></title>
      <guid>http://www.phpdeveloper.org/news/13000</guid>
      <link>http://www.phpdeveloper.org/news/13000</link>
      <description><![CDATA[<p>
In a previous post from the Web Mozarts blog they <a href="http://webmozarts.com/2009/06/30/easy-unit-testing/">look at unit testing</a> your PHP applications and some of the different testing software alternatives out there to help.
</p>
<blockquote>
Unit testing is a very important task of professional, scalable software development. Many tools exist to support unit testing in one or another way. All tools come with advantages and drawbacks. One of the best known test frameworks in the PHP world is <a href="http://www.phpunit.de/">PHPUnit</a>. With the release of <a href="http://www.symfony-project.org/">symfony</a>, <a href="http://fabien.potencier.org/">Fabien Potencier</a> released another new testing framework for PHP: <a href="http://trac.symfony-project.org/browser/tools/lime/trunk/lib/lime.php">lime</a>. 
</blockquote>
<p>
He compares them both, talking about where they came from and what sort of features they have included. He also gives some sample code for each of the frameworks and shows how a simple test would look in each. 
</p>]]></description>
      <pubDate>Wed, 05 Aug 2009 12:17:23 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Stefan Koopmanschap's Blog: symfonyUnderControl: lime integration with phpUnderControl]]></title>
      <guid>http://www.phpdeveloper.org/news/11908</guid>
      <link>http://www.phpdeveloper.org/news/11908</link>
      <description><![CDATA[<p>
<i>Stefan Koopmanschap</i> has <a href="http://www.leftontheweb.com/message/symfonyUnderControl_lime_integration_with_phpUnderControl">posted about his plugin</a> he's created for the symfony framework that would allow it to handle continuous integration natively - <a href="http://www.symfony-project.org/plugins/symfonyUnderControlPlugin?tab=plugin_admin#new_release">symfonyUndercontrol</a>
</p>
<blockquote>
From the first moment I was introduced to the concept of continuous integration I have been really interested in this. I've been playing with several packages for CI and set them up for fun. One thing that kept bothering me was that I could not test my own symfony projects with it. I started working on the symfonyUnderControlPlugin a few months ago, and quickly had a working proof of concept. It wasn't perfect, but it did the job.
</blockquote>
<p>
Strapped for time, he didn't get much chance to work on it until the company he works for (<a href="http://www.ibuildings.com">Ibuildings</a>) gave them time to work on Open Source projects. The results is his <a href="http://www.symfony-project.org/plugins/symfonyUnderControlPlugin?tab=plugin_admin#new_release">preview release</a>, version 0.0.1.
</p>]]></description>
      <pubDate>Mon, 09 Feb 2009 08:47:29 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Synfony Project: New testing framework]]></title>
      <guid>http://www.phpdeveloper.org/news/6305</guid>
      <link>http://www.phpdeveloper.org/news/6305</link>
      <description><![CDATA[<p>
On the Synfony project's blog, they've <a href="http://www.symfony-project.com/weblog/2006/09/19/new-testing-framework.html">posted about</a> a new testing framework that they've implemented for their framework based around something they call "lime".
</p>
<blockquote>
<p>
If you keep an eye on the <a href="http://www.symfony-project.com/trac/timeline">timeline</a>, you probably saw that the symfony unit tests have been completely reworked lately. This is because we switched from <a href="http://www.lastcraft.com/simple_test.php">simpletest</a>, which was fine but had side effects when functional tests were executed all at once, to our own testing framework, lime.
</p>
<p>
Lime is more lighweight than PHPUnit or simpletest and has several advantages. First, it launches test files in a sandbox to avoid strange effects between each test file run (one of the reasons we were unable to fix the old symfony core tests). It also introduces a new sfBrowser, sfTestBrowser and more importantly sfDomCssSelectorBrowser that allow you to write functionnal tests with ease. It is not backward compatible but is a lot more powerful than the old system. Oh, and it holds in a single file, lime.php, without any dependence.
</p>
</blockquote>
<p>
They <a href="http://www.symfony-project.com/weblog/2006/09/19/new-testing-framework.html">show some examples</a> of its usage (and a note on which tests will need to be updated) as well as the output that would come of it. They've also included some sample tests (in the "test/" folder of the release) if you'd like to check it out more throughly.
</p>]]></description>
      <pubDate>Tue, 19 Sep 2006 07:44:42 -0500</pubDate>
    </item>
  </channel>
</rss>
