<?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>Fri, 24 May 2013 20:33:33 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[DZone.com: Contributing to Paratest]]></title>
      <guid>http://www.phpdeveloper.org/news/19278</guid>
      <link>http://www.phpdeveloper.org/news/19278</link>
      <description><![CDATA[<p>
On DZone.com today there's an update about <a href="http://css.dzone.com/articles/contributing-paratest">recent additions to Paratest</a>, the parallel PHPUnit test runner (created by <a href="https://github.com/brianium/paratest">Brian Scaturro</a>). He talks some about the benefits of running tests in parallel and shares some of the recent contributions to the project from other developers.
</p>
<blockquote>
I've already written about <a href="http://css.dzone.com/articles/parallel-phpunit">my experiments with Paratest</a>. Paratest is a PHPUnit wrapper that allows you to run tests written for PHPUnit in parallel, making us of multiple processes running on the same machine. In a world where cycle time is an important metric, trading resources to get the test suite to finish earlier is a net gain; especially when you're stepping on unstable stones and run the suite very often.
</blockquote>
<p>
He (<i>Giorgio Sironi</i>) has contributed a new test runner to the project - the "WrapperRunner" that limits the number of processes spawned by the parallel testing tool. Another contribution came from <i>Dimitris Baltas</i> involving the addition of a <a href="https://github.com/brianium/paratest/pull/23">TEST_TOKEN variable</a> that can be used to uniquely identify each process as they're executing.
</p>]]></description>
      <pubDate>Wed, 06 Mar 2013 10:16:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Raphael Stolt's Blog: Growling PHPUnit's test status]]></title>
      <guid>http://www.phpdeveloper.org/news/14599</guid>
      <link>http://www.phpdeveloper.org/news/14599</link>
      <description><![CDATA[<p>
<i>Raphael Stolt</i> has <a href="http://raphaelstolt.blogspot.com/2010/06/growling-phpunits-test-status.html">put together a guide</a> showing how you can link PHPUnit and its test status to the <a href="http://growl.info/">Growl</a> engine on OS X to share the results in a move visual way (than just watching the test runner).
</p>
<blockquote>
Since I'm using <a href="http://www.phpunit.de/">PHPUnit</a> more and more lately, especially in continuous testing sessions (sprints without hitting the continuous integration server), my dependence on a fast and more visual feedback loop rose. In this post I'll provide an easy solution that meets these requirements by utilizing PHPUnit's test listener feature.
</blockquote>
<p>
He includes the code to attach the PHPUnit install to the Growl service via a custom listener that can give you a status of the tests from your most recent run (complete with color-coded feedback based on the results). With a few changes to the PHPUnit <a href="http://www.phpunit.de/manual/current/en/appendixes.configuration.html">XML config file</a> and link out to a script (stakeout.rb), he shows how to directly interface with Growl and includes a <a href="http://www.flickr.com/photos/raphaelstolt/4665080708/">few</a> <a href="http://www.flickr.com/photos/raphaelstolt/4665080614/">screenshots</a> on what the end result could look like.
</p>]]></description>
      <pubDate>Thu, 03 Jun 2010 11:26:37 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Raphael Stolt's Blog: Testing Phing buildfiles with PHPUnit]]></title>
      <guid>http://www.phpdeveloper.org/news/12488</guid>
      <link>http://www.phpdeveloper.org/news/12488</link>
      <description><![CDATA[<p>
<i>Raphael Stolt</i> has <a href="http://raphaelstolt.blogspot.com/2009/05/testing-phing-buildfiles-with-phpunit.html">a new post</a> looking at a technique to ensure that your <a href="http://phing.info/trac/">Phing</a> buildfile is how it should be via unit testing it.
</p>
<blockquote>
While <a href="http://raphaelstolt.blogspot.com/2008/07/six-valuable-phing-build-file.html">transforming</a> some of the <a href="http://ant.apache.org/">Ant</a> buildfile refactorings described in <a href="http://www.build-doctor.com/">Julian Simpson</a>'s seminal essay into a <a href="http://phing.info/trac/">Phing</a> context, it felt plainly wrong that I didn't have any tests for the buildfile to back me up on obtaining the pristine behaviour throughout the process. While Ant users can rely on an Apache project called <a href="http://ant.apache.org/antlibs/antunit/">AntUnit</a> there are currently no tailor-made tools available for testing or verifying Phing buildfiles. 
</blockquote>
<p>
He includes an sample build file that will be tested and some PHPUnit code to execute the build and run several tests on the results like githubCloneAdhocTaskShouldBeDefined, targetLogBuildShouldBeAPrivateOne, propertyGithubReposDirShouldBeSet and more.
</p>]]></description>
      <pubDate>Mon, 11 May 2009 09:33:20 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Sebastian Bergmann's Blog: Test Runner Improvement in PHPUnit 3.3]]></title>
      <guid>http://www.phpdeveloper.org/news/9956</guid>
      <link>http://www.phpdeveloper.org/news/9956</link>
      <description><![CDATA[<p>
<i>Sebastian Bergmann</i> has posted some details about <a href="http://sebastian-bergmann.de/archives/772-Test-Runner-Improvement-in-PHPUnit-3.3.html">an update</a> that's been made to the test runner for the PHPUnit (3.3) unit testing suite - an allowance for directories instead of just files on the command line.
</p>
<blockquote>
Given a directory, the test runner will recursively scan the directory for *Test.php files, build a test suite out of the *Test classes, and run it.
</blockquote>
<p>
<a href="http://www.phpunit.de/">PHPUnit</a> is framework that makes writing tests for your code easy and also includes functionality to run the tests and analyze their results.
</p>]]></description>
      <pubDate>Fri, 11 Apr 2008 09:46:29 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Sebastian Bergmann's Blog: ANSI Colors in PHPUnit Output]]></title>
      <guid>http://www.phpdeveloper.org/news/9829</guid>
      <link>http://www.phpdeveloper.org/news/9829</link>
      <description><![CDATA[<p>
<i>Sebastian Bergmann</i> <a href="http://sebastian-bergmann.de/archives/761-ANSI-Colors-in-PHPUnit-Output.html">shows off</a> a new feature of the latest PHPUnit release - the addition of ANSI colors to the runner's output.
</p>
<p>
Check out the screenshots <a href="http://www.flickr.com/photos/sebastian_bergmann/2340283723/">here</a> and <a href="http://www.flickr.com/photos/sebastian_bergmann/2340283719/">here</a>.
</p>
<p>
PHPunit is a member of the xUnit family of testing frameworks and provides both a framework that makes the writing of tests easy as well as the functionality to easily run the tests and analyse their results.
</p>]]></description>
      <pubDate>Thu, 20 Mar 2008 10:26:51 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Sebastian Bergmann's Blog: RC2 Is The New RC1 (PHPUnit)]]></title>
      <guid>http://www.phpdeveloper.org/news/9028</guid>
      <link>http://www.phpdeveloper.org/news/9028</link>
      <description><![CDATA[<p>
<i>Sebastian Bergmann</i> has <a href="http://sebastian-bergmann.de/archives/717-RC2-Is-The-New-RC1.html">posted about</a> the latest release of the popular unit testing framework for PHP, <a href="http://www.phpunit.de">PHPUnit 3.2</a>.
</p>
<blockquote>
I have just released a second release candidate for <a href="http://www.phpunit.de/">PHPUnit</a> 3.2, the next major version of the <a href="http://en.wikipedia.org/wiki/XUnit">xUnit</a> testing framework for <a href="http://www.php.net/">PHP</a>.
</blockquote>
<p>
According to <a href="http://www.phpunit.de/wiki/ChangeLog">the Changelog</a>, updates in this new Release Candidate include a number of updates to the software metrics that can be run on code (at project, file, function, class and method level), the addition of DbUnit, code coverage improvements, bug fixes to the TestUI test runner and Selenium integration and much more.
</p>]]></description>
      <pubDate>Tue, 13 Nov 2007 10:24:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Sebastian Bergmann's Blog: AJAX-Based Test Runner for PHPUnit]]></title>
      <guid>http://www.phpdeveloper.org/news/6759</guid>
      <link>http://www.phpdeveloper.org/news/6759</link>
      <description><![CDATA[<p>
<i>Sebastian Bergmann</i> has posted an official <a href="http://sebastian-bergmann.de/archives/639-AJAX-Based-Test-Runner-for-PHPUnit.html">call for help</a> for a PHPUnit-related project that seems to be a more and more requested feature for the popular unit testing package - an Ajax-based test runner.
</p>
<blockquote>
It would be great if the frontend for the browser-based test runner would make use of <a href="http://en.wikipedia.org/wiki/AJAX">AJAX</a>. Since I am clueless when it comes to both web design in general and AJAX in particular, I would appreciate if someone else could help me with implementing this test runner.
</blockquote>
<p>
He's <a href="http://sebastian-bergmann.de/archives/639-AJAX-Based-Test-Runner-for-PHPUnit.html">looking for</a> the XHTML, CSS, and Javascript to put it all together as well as the Javascript that makes the magic happen. If you're interested in helping out, you can either contact him on <a href="http://www.phpunit.de/wiki/MailinglistsAndIrc">the mailing list</a> or in <a href="http://www.phpunit.de/wiki/MailinglistsAndIrc">#phpunit</a> on the Freenode IRC network.
</p>]]></description>
      <pubDate>Wed, 22 Nov 2006 18:02:00 -0600</pubDate>
    </item>
  </channel>
</rss>
