<?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>Sat, 25 May 2013 04:30:26 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Mike Purcell's Blog: Use PHPUnit without PEAR]]></title>
      <guid>http://www.phpdeveloper.org/news/17451</guid>
      <link>http://www.phpdeveloper.org/news/17451</link>
      <description><![CDATA[<p>
<i>Mike Purcell</i> has a new post to his blog showing a method he's followed to be able to use the popular <a href="http://phpunit.de">PHPUnit</a> unit testing software without having to go through the PEAR installer to get there.
</p>
<blockquote>
PHPUnit is a great tool to protect us developers from introducing new defects when adding new features or re-factoring code. However there is one HUGE downside to PHPUnit; it must be installed using PEAR. Personally, I don't like 'auto-installers', I'd prefer to know what exactly is happening behind the scenes with regards to which libraries are required and how they are being called. [...] After breaking down the PHPUnit source code, I realized it could be installed without going through PEAR, and without too much headache.
</blockquote>
<p>
He walks you through the directories you'll need to set up (test/vendor), the commands you'll need to get the latest version and unpack it, changes to set up some symlinks and updating the PHPUnit source to modify the <a href="http://code.ownij.com/PHPUnitAutoload.php">autoloader</a>, <a href="http://code.ownij.com/PHPUnitBootstrap.php">bootstrap</a> and phpunit executable. 
</p>]]></description>
      <pubDate>Thu, 26 Jan 2012 09:48:00 -0600</pubDate>
    </item>
  </channel>
</rss>
