Hi Alex, true there is no clover style report. On the one side, the seem to be less standard formats for coverage, on the other noone has implemented it yet :)
Feel free to create an implementation for clover and submit it for inclusion Fabian On Wed, Dec 30, 2009 at 4:52 AM, Alex Letoosh <[email protected]> wrote: > Hi all, > > I am currently trying to build my Symfony projects with Hudson > continuous integration tool. It seems to be fine with PHPUnit tests, > but there is an issue lime tests. I've upgraded to Symfony 1.3, which > provides --xml flag to get test reports in JUnit format. However, > there is no --xml argument that test:coverage task may take. > > I was wondering is there a plugin or a feature that can produce an XML > for code coverage? (e.g. a Clover-like file) I've spent a lot of time > Googling and going through docs, but failed to get anything.. > > I would very much like to use only Lime without PHPUnit, but then I > won't be able to see coverage in Hudson.. In case there isn't a > routine for the XML, I've had a look at lime.php and noticed there is > the lime_test::to_xml() method (http://trac.symfony-project.org/ > browser/tools/lime/trunk/lib/lime.php#L67), but there isn't one for > lime_coverage class. I am relatively new to Symfony and may > misinterpret something, but it seems like lime_coverage::run() stores > the results in $coverage, so it should be relatively easy to generate > a Clover-like XML out of it, no? Please can someone advice on the best > approach for this? > > Thank you and kindest regards, > > Alex > > -- > > You received this message because you are subscribed to the Google Groups > "symfony developers" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/symfony-devs?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en.
