<?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 22:46:40 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Volker Dusch's Blog: Creating your custom PHPUnit output formats]]></title>
      <guid>http://www.phpdeveloper.org/news/15773</guid>
      <link>http://www.phpdeveloper.org/news/15773</link>
      <description><![CDATA[<p>
<i>Volker Dusch</i> has a new post to his blog today talking about PHPUnit and how you can make <a href="http://edorian.posterous.com/creating-your-custom-phpunit-output-formats">custom output formats</a> to get the results exactly how you need them. The trick is in using XSLT for transformation.
</p>
<blockquote>
While tackling with someones question i decided it's time to play around with xslt for learning purposes and i found something useful to do.
He wanted to extend the --testdox-html output and i proposed to just transform phpunits xml output using an xslt since i didn't see a easy way to prove a custom implemenation for PHPUnit/Util/TestDox/ResultPrinter/HTML.php and i didn't want to change the file its self.
</blockquote>
<p>
He gives an example of how to use the textdox output method to generate an XML document of the unit test run's results and a simple XSLT style sheet to format the results as a custom HTML page. He uses the "xsltproc" command line tool to make the translation happen.
</p>]]></description>
      <pubDate>Thu, 20 Jan 2011 08:36:00 -0600</pubDate>
    </item>
  </channel>
</rss>
