Uploaded image for project: 'Buildr (Retired)'
  1. Buildr (Retired)
  2. BUILDR-649

Running cobertura:html on a project with sub-modules does not generate a complete report

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Auto Closed
    • 1.4.7
    • 1.5
    • Extensions
    • 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.

      Attachments

        1. out.log
          35 kB
          Tan Quach

        Activity

          People

            Unassigned Unassigned
            tquach Tan Quach
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: