PHPUnitReport

This task transforms PHPUnit xml reports to HTML using XSLT.

NB: the identifiers phpunit2report (PHPUnit2Report) and phpunit3report (PHPUnit3Report)have been deprecated!

Table 145. Attributes

Name Type Description Default Required
infile String The filename of the XML results file to use. testsuites.xml No
format String The format of the generated report. Must be noframes or frames. noframes No
styledir String The directory where the stylesheets are located. They must conform to the following conventions: frames format: the stylesheet must be named phpunit-frames.xsl. noframes format: the stylesheet must be named phpunit-noframes.xsl. If unspecified, the task will look for the stylesheet(s) in the following directories: the PHP include path, the Phing home directory and the PEAR data directory (if applicable). n/a No
todir String An existing directory where the files resulting from the transformation should be written to.   Yes
usesorttable Boolean Whether to use the sorttable JavaScript library (see http://www.kryogenix.org/code/browser/sorttable/) false No