What if you run JUnit tests on a JavaFX project with Cobertura?
Posted by fabriziogiudici on June 7, 2009 at 10:43 AM EDT
Well, clearly Cobertura can't handle the syntax of JavaFX, so I think many figures are wrong (e.g. Branch Coverage, Complexity; I'm unsure about Line Coverage). But some bit of useful information is here, at least for what concerns what you haven't tested at all.
You get also some file-level details, but the incapability of understanding JavaFX syntax lead to inconsistencies (note red lines with a non zero count). But it seems that searching for non zero counts is a good way to find out which lines you don't have covered).
Who knows whether anybody will care about writing a Cobertura plug-in for JavaFX? If Sun has got a few money for pushing small projects, it would be a good idea IMO.
Blog Links >>
- Login or register to post comments
- Printer-friendly version
- fabriziogiudici's blog
- 711 reads





