<?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>Sun, 19 May 2013 12:23:19 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Sebastian Bergmann's Blog: Test Dependencies in PHPUnit 3.4]]></title>
      <guid>http://www.phpdeveloper.org/news/11409</guid>
      <link>http://www.phpdeveloper.org/news/11409</link>
      <description><![CDATA[<p>
<i>Sebastian Bergmann</i> talks about a new bit of functionality he's put into the 3.4 release of <a href="http://www.phpunit.de">PHPUnit</a> (the popular unit testing tool for PHP) based on a suggestion from a paper he'd read:
</p>
<blockquote>
Back in July, I came across an academic paper (more <a href="http://delicious.com/sebastian_bergmann/academic_paper+testing">academic papers on testing</a> that I read recently) titled "<a href="http://www.iam.unibe.ch/~scg/Archive/Papers/Kuhn08aJExample.pdf">JExample: Exploiting Dependencies Between Tests to Improve Defect Localization</a>". [...] For the upcoming <a href="http://www.phpunit.de/">PHPUnit 3.4</a> I have implemented support for the idea expressed in the paper mentioned above.
</blockquote>
<p>
The feature is a system that helps localize problems at the source, stripping away all of the cascading issues it might have tripped off, causing other tests to fail. This new feature (as illustrated by his code example using a DependencyFailureTest class) makes it simple to fail a test immediately whenever the scripts needs to via a fail() method. Check out <A href="http://sebastian-bergmann.de/archives/826-Test-Dependencies-in-PHPUnit-3.4.html">the full post</a> for the rest of the code and some further explanation on how it works.
</p>]]></description>
      <pubDate>Fri, 14 Nov 2008 10:25:20 -0600</pubDate>
    </item>
  </channel>
</rss>
