My ultimate goal with Delphi Code Coverage was to integrate Code Coverage reports with Hudson.
With the 0.3 release of Delphi Code Coverage, you can now generate XML reports that are compatible with the XML reports from EMMA. This means that you can get nice trend graphs directly in Hudson for your Delphi projects. Obviously, EMMAs reports are far more detailed, including class, method and block coverage. (We’ll get there some day too 🙂 …)
In order to integrate the XML reports in to Hudson you will need to download the EMMA plugin for Hudson and configure it to pick up the XML report generated by Delphi Code Coverage.
You can also have access to the marked up Delphi source directly from within Hudson by using the HTML Publisher plugin. Just make sure you pick up the CodeCoverage_summary.html generated by Delphi Code Coverage.
Now, the 0.3 release of Delphi Code Coverage is still very much a project in its infancy. There are plenty of things on the to-do list, the next big thing is to tackle class and method coverage metrics…
I’m starting to use Delphi-Code-Coverage 0.5 to cover the tests generated by DUnit and the tool looks pretty promising. Do you have any plans to release a new version? Or release the source code for download?
Thank you
Oh you’ve already addressed it – even better
Thanks
Mark, the credit for addressing it goes to Nick Ring who have stepped in and made a great number of enhancements, we’re just working out an issue and will have a new release out soon.
Great work. I’ve had a go at integrating this with CruiseControl.NET, the running of the command works fine, but the coverage report in XML doesn’t quite fit with what the Emma plugin for CCNET is expecting, so I’ve created an issue report (Issue 14), with what it is expecting.
I’ve doctored my transform so it works, and it generates a nice summary of the report. It would be a killer to get the rest of Emma functionality to show coverage of classes, methods, etc.
Keep up the good work
Thanks for effort, just get back from Java to Delphi 6 and its great to have alternatives for known tools.
On Google project is no section “future plans for v1.0”, so I ask – will be in future support for block coverage like EMMA? This will be killer Delphi plugin for Hudson.
Block as defined by Emma might be tricky, but definitely method and class coverage.
[…] more: Delphi Code Coverage in Hudson Possibly related posts: (automatically generated)Source Code Line Counter 1.0.15YATTA-IVTC […]
Hey, I’ve just discovered and tested Delphi Code Coverage V0.3. Very nice and promising application !
Just wanted to say : THX for sharing it, I’m sure many delphi users will contribute, even by just asking question !
Read you soon !