<?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>Wed, 19 Jun 2013 00:23:50 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Chris Shiflett's Blog: Test-Harness for PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/4793</guid>
      <link>http://www.phpdeveloper.org/news/4793</link>
      <description><![CDATA[<i>Chris Shiflett</i> has a <a href="http://shiflett.org/archive/192">quick post</a> today with another addition to the "reasons to use TAP for your testing" - <a href="http://www.digitalsandwich.com/test-harness.php">test-harness.php</a>.
<p>
<quote>
<i>
In the tradition of <a href="http://shiflett.org/code/test-more.phps">test-more.php</a>, <a href="http://digitalsandwich.com/">Mike Lively</a> adds to the growing list of reasons to be using <a href="http://search.cpan.org/dist/Test-Harness/lib/Test/Harness/TAP.pod">TAP</a> (Test Anything Protocol) by creating <a href="http://www.digitalsandwich.com/test-harness.php">test-harness.php</a>, a <a href="http://www.digitalsandwich.com/archives/52-TAP-Compliant-PHP-Testing-Harness.html">TAP-compliant PHP testing harness</a>. This provides yet another testing option for PHP developers:
<ul>
<li>Easy: Apache-Test (with any TAP-compliant library)
<li>Easier: test-harness.php (with any TAP-compliant library)
<li>Easiest: test-more.php
</ul>
</i>
</quote>
<p>
You can grab the source for test-harness <a href="http://www.digitalsandwich.com/test-harness.php">here</a> and the source for test-more <a href="http://shiflett.org/code/test-more.phps">here</a>...]]></description>
      <pubDate>Mon, 06 Feb 2006 06:47:01 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Sebastian Bergmann's Blog: PHPUnit 3.0]]></title>
      <guid>http://www.phpdeveloper.org/news/4561</guid>
      <link>http://www.phpdeveloper.org/news/4561</link>
      <description><![CDATA[In <a href="http://www.sebastian-bergmann.de/blog/archives/553-PHPUnit-3.0.html">his latest post</a> today, <i>Sebastian Bergmann</i> announces the upcoming release of the latest version of the widely popular PHP unit testing suite - <a href="http://www.phpunit.de/">PHPUnit 3.0</a>.
<p>
<quote>
<i>
These past few days I have been busy hacking on what will become PHPUnit 3.0, hopefully already in January 2006.
<p>
The hallmark feature of PHPUnit 3.0 will be its support for Mock Objects. PHPUnit's <a href="http://www.mockobjects.com/">Mock Object</a> implementation has been initially developed by Jan Borsodi of <a href="http://ez.no/">eZ systems AS</a> and is inspired by <a href="http://www.jmock.org/">jMock</a>.
<p>
While working with the Unit Tests for the <a href="http://www.zend.com/collaboration/framework_overview">Zend Framework</a> I noticed that PHPUnit previously had no support for skipping the execution of a test, for instance when a required PHP extension is not available. PHPUnit 3.0 introduces the PHPUnit2_Framework_Assert::markTestSkipped() to mark a test as being skipped.
<p>
<a href="http://shiflett.org/">Chris Shiflett</a> <a href="http://shiflett.org/archive/176">requested</a> support for the <a href="http://search.cpan.org/dist/Test-Harness/lib/Test/Harness/TAP.pod">Test Anything Protocol (TAP)</a> which I added in the form of a respective PHPUnit2_Framework_TestListener implementation.
</i>
</quote>
<p>
<a href="http://www.phpunit.de">PHPUnit</a> has become the de-facto standard for unit testing with PHP, and it's great to see so many more improvements coming from it. It's also good to see that, through it's efforts with the Zend Framework, it's also found some places it was lacking and fixed them right up.]]></description>
      <pubDate>Mon, 26 Dec 2005 07:20:09 -0600</pubDate>
    </item>
  </channel>
</rss>
