<?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>Mon, 06 Oct 2008 11:14:54 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Brian DeShong's Blog: Small news that's big to me: my PHP Testfest submissions made it into 5_3!]]></title>
      <guid>http://www.phpdeveloper.org/news/10410</guid>
      <link>http://www.phpdeveloper.org/news/10410</link>
      <description><![CDATA[<p>
Congrats to <i>Brian DeShong</i> for having his submissions from this year's TestFest be <a href="http://www.deshong.net/?p=76">included in the next release</a> of PHP, version 5.3's build.
</p>
<blockquote>
Someday I'll look back on this post and think it's super lame, but my recent submission of two tests for PHP's <a href="http://php.net/putenv">putenv()</a> function made it into PHP_5_3! I've officially made a contribution it's a red letter day, folks. Without <a href="http://atlantaphp.org/">Atlanta PHP</a> and <a href="http://testfest.php.net/">PHP's Testfest</a>, none of this would have been possible.
</blockquote>
<p>
His tests ran with putenv() and the safe_mode_allowed_env_vars/safe_mode_protected_env_vars settings in use. You can see the inclusion in <a href="http://news.php.net/php.cvs/50412">this commit message</a> (by <i>Lars Strojny</i>).
</p>]]></description>
      <pubDate>Fri, 13 Jun 2008 10:25:12 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Matthew Turland's Blog: Unit Tests and Code Coverage with PHPT]]></title>
      <guid>http://www.phpdeveloper.org/news/10263</guid>
      <link>http://www.phpdeveloper.org/news/10263</link>
      <description><![CDATA[<p>
<i>Matthew Turland</i> has <a href="http://ishouldbecoding.com/2008/05/23/unit-tests-and-code-coverage-with-phpt">posted about</a> some of his experience with <a href="http://qa.php.net/write-test.php">PHPT</a> tests with <a href="http://phpunit.de/">PHPUnit</a>.
</p>
<blockquote>
Recently, I wrote some for a project and realized that I wasn't aware of how to generate code coverage reports. Many thanks to the very helpful patrons in the #pear channel on EFNet for helping me to get this working.
</blockquote>
<p>
He <A href="http://ishouldbecoding.com/2008/05/23/unit-tests-and-code-coverage-with-phpt">show his setup process</a> (on Kubuntu) - grabbing the PEAR package, installing it and how to get a runner script to integrate the PHPT testing into PHPUnit.
</p>]]></description>
      <pubDate>Mon, 26 May 2008 07:54:33 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Antony Dovgal's Blog: PHP test coverage exceeded 55%]]></title>
      <guid>http://www.phpdeveloper.org/news/10229</guid>
      <link>http://www.phpdeveloper.org/news/10229</link>
      <description><![CDATA[<p>
As <i>Antony Dovgal</i> <a href="http://daylessday.org/archives/25-PHP-test-coverage-exceeded-55%23.html">points out</a> in a new blog post today, the latest reports on PHP's <a href="http://gcov.php.net/PHP_5_3/lcov_html/">code coverage</a> have jumped up over the 50% mark (to 56.3% at the time of this post).
</p>
<blockquote>
It took us about 2 years to get the last 5% and I believe most of the kudos should go to IBM people, who continue to contribute lots of new tests. I hope that <a href="http://qa.php.net/testfest.php">the Testfest</a> will help us to speed up this process.
</blockquote>
<p>
There are still a lot of items <a href="http://gcov.php.net/PHP_5_3/lcov_html/">in the red</a> that could use some tests, so if you're looking to help out write up some tests or check your area for a <a href="http://qa.php.net/testfest.php">TestFest</a> event to get some help.
</p>]]></description>
      <pubDate>Wed, 21 May 2008 08:47:44 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Stefan Priebsch's Blog: PHPUnit test and Code Coverage Statistics with phing]]></title>
      <guid>http://www.phpdeveloper.org/news/10017</guid>
      <link>http://www.phpdeveloper.org/news/10017</link>
      <description><![CDATA[<p>
<i>Stefan Priebsch</i> has posted <a href="http://inside.e-novative.de/archives/114-PHPUnit-test-and-Code-Coverage-Statistics-with-phing.html">an example</a> of how he uses PHPUnit "manually" to reduce the overhead (and added complexity) of calling <a href="http://phing.info/trac/">phing</a>.
</p>
<blockquote>
Instead of instantiating PHPUnit from phing, I use the command line interface to call PHPUnit. This decouples phing and PHPUnit, which should cause less problems with version updates in the future. To configure PHPUnit, phing creates a temporary XML configuration file which is deleted after PHPUnit has finished.
</blockquote>
<p>
The source is <a href="http://inside.e-novative.de/archives/114-PHPUnit-test-and-Code-Coverage-Statistics-with-phing.html">included in the post</a> - it manually builds the XML file needed for phing to do its job.
</p>]]></description>
      <pubDate>Tue, 22 Apr 2008 14:15:18 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Elizabeth Smith's Blog: Hey, Code Coverage on Windows!]]></title>
      <guid>http://www.phpdeveloper.org/news/9514</guid>
      <link>http://www.phpdeveloper.org/news/9514</link>
      <description><![CDATA[<p>
<i>Elizabeth Smith</i> has <a href="http://elizabethmariesmith.com/2008/01/28/hey-code-coverage-on-windows/">posted about</a> a new toy she received from the folks at Microsoft that adds in a missing piece of development functionality on Windows - code coverage and testing.
</p>
<blockquote>
So this evening I managed to get <a href="http://phpt.info/">PHPT</a> running my tests (they're just basic .phpt tests but run-tests is..well flakey is a nice description some days) for my winapi php extension wrapped inside a "generic test" for Visual Studio. [...] So what did all this accomplish? I now can run my phpt tests through visual studio and collect code coverage on what they're testing. Like <a href="http://gcov.php.net/">GCOV</a>, only for windows.
</blockquote>
<p>
She's also included <a href="http://elizabethmariesmith.com/wp-content/uploads/pretty-code-coverage.jpeg">a screenshot</a> of what the interface and results of the testing look like in the latest Visual Studio tool.
</p>]]></description>
      <pubDate>Tue, 29 Jan 2008 09:35:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Creating Code Coverage Statistics with xdebug]]></title>
      <guid>http://www.phpdeveloper.org/news/9422</guid>
      <link>http://www.phpdeveloper.org/news/9422</link>
      <description><![CDATA[<p>
The Zend Developer Zone has posted the <a href="http://devzone.zend.com/article/2955-Creating-Code-Coverage-Statistics-with-xdebug">fifth and final installment</a> of the series <i>Stefan Priebsch</i> has written up about debugging your application via the XDebug software.
</p>
<blockquote>
Today, we will have a look at another great feature of xdebug - creating code coverage statistics. Code coverage statistics show how many times each line of the code has been executed. Conversely, they also show which lines of code have not been executed, which is in fact much more interesting.
</blockquote>
<p>
He talks a bit about what code coverage is and how it can help you fine tune your application. He walks you through the installation of the two packages that will help out with running the reports - <a href="http://phing.info/">phing</a> and <a href="http://www.phpunit.de">PHPUnit</a>. Using these, he shows how to create a simple unit test and a build file for phing that combine and, via the XDebug calls to xdebug_start_code_coverage, xdebug_stop_code_coverage and xdebug_get_code_coverage, are used to generate the output graphs and stats in a nice, easy to read interface.
</p>]]></description>
      <pubDate>Tue, 15 Jan 2008 07:51:00 -0600</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[Derick Rethans' Blog: XDebug 2.0.2]]></title>
      <guid>http://www.phpdeveloper.org/news/9027</guid>
      <link>http://www.phpdeveloper.org/news/9027</link>
      <description><![CDATA[<p>
<i>Derick Rethans</i> has <a href="http://derickrethans.nl/xdebug_202.php">posted about the release</a> of the latest version of XDebug - 2.0.2 - to his blog.
</p>
<blockquote>
I just <a href="http://xdebug.org/#x_2_0_2">released</a> Xdebug 2.0.2. This bugfix release addresses some issues that were introduced with the improved code coverage performance in Xdebug 2.0.1. There are a few other issues left, which will be addressed in a future version.
</blockquote>
<p>
Fixes include correcting a crash on empty PHP files, a crash when including a file that doesn't exist, an issue with CLI error logging and the direction of the var_dump function call.
</p>]]></description>
      <pubDate>Tue, 13 Nov 2007 09:33:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Derick Rethans' Blog: XDebug 2.0.1]]></title>
      <guid>http://www.phpdeveloper.org/news/8875</guid>
      <link>http://www.phpdeveloper.org/news/8875</link>
      <description><![CDATA[<p>
<i>Derick Rethans</i> has <a href="http://derickrethans.nl/xdebug_201.php">posted a new item</a> to his blog about the release of the popular PHP debugging software's latest version <a href="http://xdebug.org/">XDebug 2.0.1</a>.
</p>
<blockquote>
This version comes with a <a href="http://xdebug.org/updates.php#x_2_0_1">few bug fixes</a> but the main thing is greatly improved performance of Xdebug's <a href="http://xdebug.org/docs/code_coverage">Code Coverage</a> functionality. To give an idea on what kind of improvement I'm talking, I am including very rough benchmark results.
</blockquote>
<p>
He <a href="http://derickrethans.nl/xdebug_201.php">describes the benchmarks</a> and gives the results - without code coverage and the pre/post of this new version (2.0.0 versus 2.0.1). The results are very impressive.
</p>]]></description>
      <pubDate>Mon, 22 Oct 2007 07:58:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Sebastian Bergmann's Blog: Xdebug Performance Boost]]></title>
      <guid>http://www.phpdeveloper.org/news/8847</guid>
      <link>http://www.phpdeveloper.org/news/8847</link>
      <description><![CDATA[<p>
<i>Sebastian Bergmann</i> <a href="http://sebastian-bergmann.de/archives/707-Xdebug-Performance-Boost.html">quickly points out</a> a patch that <a href="http://derickrethans.nl/">Derick Rethans</a> committed to the <a href="http://xdebug.org/">XDebug</a> software to make things a bit more usable:
</p>
<blockquote>
<a href="http://derickrethans.nl/">Derick</a> recently committed a patch that improves the performance of code coverage data collection in <a href="http://xdebug.org/">Xdebug</a>. [...] This makes <a href="http://www.phpunit.de/">PHPUnit</a>'s <a href="http://www.phpunit.de/pocket_guide/3.2/en/code-coverage-analysis.html">code coverage</a> functionality so much more practical to use.
</blockquote>
<p>
Two examples of it in action are included - one for XDebug 2.0.0 and the other for the development version, XDebug 2.0.1-dev.
</p>]]></description>
      <pubDate>Tue, 16 Oct 2007 08:48:00 -0500</pubDate>
    </item>
  </channel>
</rss>
