Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Auto Closed
-
1.4.7
-
None
-
Windows 7, Ubuntu 12.04
Description
Having multiple projects with inter-dependencies will not produce a complete Cobertura test coverage report.
It seems when more than one project has a dependency on a single project, the reports are either not generated or are not instrumented in the proper place. I've set up a sample project here:
https://github.com/tantastik/sample-buildr-repo
In this sample project there are 3 modules: common, app, webapp.
- 'common' has no project dependencies
- 'app' depends on 'common'
- 'webapp' depends on 'common' and 'app'
When running cobertura:html from the root directory, the subsequent html report does not contain classes from the 'common' project.
If you clone this locally and run "buildr cobertura:html" you will see this behaviour.