|
From: Jakob K. <jke...@ch...> - 2009-03-02 07:32:35
|
On Sunday 01 March 2009 16:01:08 Lars Olesen wrote: > I have a library, which has tests in simpletest. I want to build it > using phpUnderControl and CruiseControl. However, I want to utitlize > all the good parts of phpUnderControl, so I want to ask whether anyone > is working on some kind of integration. > > - Has anyone had simpletest output the test results as an xml-file > phpundercontrol can use? > - Has anyone implemented codecoverage and a report on the codecoverage > using xdebug and simpletest - and an xml-file? > - Has anyone implemented metric analysis as pmd analysis etc? yes, yes, and no... that's how far i am ;) for the xml output: you might wanna try the extensions/junit_xml_reporter.php that's bundled with simpletest. i haven't tried it yet - i found it after i had written my own reporter that does the same task. for code coverage: as far as i see it, that is a pretty new feature coming with the next release. it does work, but it's not that easy to integrate. if you want to set it up you will need to have a deeper look into it. i'm not aware of any documentation (at the moment) except for what was written on this mailing list. pmd: i haven't seen it in effect yet, it's a feature of phpunit - but if i remember correct, it's deprecated there... |