<?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 19:11:18 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Paul Jones' Blog: Solar - Modified Testing Strategy]]></title>
      <guid>http://www.phpdeveloper.org/news/4773</guid>
      <link>http://www.phpdeveloper.org/news/4773</link>
      <description><![CDATA[<i>Paul Jones</i> has <a href="http://paul-m-jones.com/blog/?p=193">an update</a> today onm his blog concerning the <a href="http://solarphp.com/">Solar Framework</a> and some of the testing strategies surrounding it.
<p>
<quote>
<i>
In the current release of <a href="http://solarphp.com/>Solar</a> (version 0.10.0) I use the <a href="http://qa.php.net/write-test.php">.phpt test format</a>, which is supported very well by <a href="http://greg.chiaraquartet.net/">Greg Beaver</a>'s "pear run-tests" code. The .phpt testing strategy compares the output of a test script to an expected output string, and passes if the outputs match.
<p>
Inspired by Greg's <a href="http://cvs.php.net/viewcvs.cgi/pear/PEAR_PackageFileManager/tests/phpt_test.php.inc?view=markup">PEAR_PHPTest</a> class, I've developed a bare-bones <a href="http://solarphp.com/svn/pkg/Solar/Test/Assert.php">Solar_Test_Assert</a> class that tests assertions and throws PHP5 exceptions on assertion failures. Add to that <a href="http://solarphp.com/svn/pkg/tests/alltests.php">a quick hack to run all tests at once</a> recursively through subdirectories (courtesy of the "pear run-tests -r" switch), and you get a convenient all-at-once testing tool for Solar.
</i>
</quote>
<p>
He <a href="http://paul-m-jones.com/blog/?p=193">mentions</a> also rewriting the previous Solar tests to match this new structure as well...]]></description>
      <pubDate>Wed, 01 Feb 2006 07:16:20 -0600</pubDate>
    </item>
  </channel>
</rss>
