[ http://jira.andromda.org/browse/MISC-57?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16310#comment-16310 ]
Bob Fields commented on MISC-57: -------------------------------- The 0% coverage appears to be fixed with the latest patch of cobertura-plugin, it now gives coverages for projects where code is not generated through the andromda plugins. When the cartridgetest plugin is invoked, it gives a NoClassDefFoundException on a cobertura dependency because it is trying to run the instrumented code after changing the test dependencies when running the unit test to verify results. Should be pretty easy to fix, just add the cobertura test dependency to that plugin invocation, or fix the cartridge-test-plugin to include that dependency automatically. I'm not sure if it will give the same error with 0% coverage after that is fixed, though. > Cobertura always displays 0% code coverage for unit tests > --------------------------------------------------------- > > Key: MISC-57 > URL: http://jira.andromda.org/browse/MISC-57 > Project: Miscellaneous > Issue Type: Bug > Affects Versions: 3.4 > Environment: AndroMDA 3.4-SNAPSHOT > Reporter: Bob Fields > Assignee: Plushnikov Michail > Priority: Minor > > run mvn cobertura:cobertura against any project directory. We also need to > make sure the cartridge and metafacade tests which generate from test models > also produce code coverage. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev