<?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, 09 Jul 2008 07:12:16 -0500</pubDate>
    <ttl>30</ttl>
    <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[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>
  </channel>
</rss>
