Uploaded image for project: 'Clover'
  1. Clover
  2. CLOV-1167

Grails Clover Plugin does not intercept 'testc' compiler

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • High
    • 3.1.8
    • 3.1.6
    • Grails Plugin, Groovy
    • None

    Description

      Grails 2.x has introduced a new compiler for building unit tests (from test/unit directory). The 'testc' task is the org.codehaus.groovy.grails.test.compiler.GrailsTestCompiler Build log looks like this:

      |Compiling 1 source files
          ...
          [testc] ... \test\unit\clover\test\UnitTests.groovy
      
      |Compiling 1 source files
         ...
        [groovyc] ... \test\integration\IntegrationServiceTests.groovy
      

      Clover does not intercept this compiler call (it supports Groovyc, Grailsc, GrailsCompiler). As a consequence unit tests are not instrumented and not included in coverage.

      Attachments

        Activity

          People

            mparfianowicz Marek Parfianowicz
            mparfianowicz Marek Parfianowicz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: