Clover doesn't instrument code with funky-spock grails plugin

XMLWordPrintable

    • Type: Bug
    • Resolution: Tracked Elsewhere
    • Priority: High
    • won't fix
    • Affects Version/s: 3.2.2
    • Component/s: Grails Plugin
    • None
    • Environment:

      grails 2.3.6
      clover 3.2.2
      on Linux

      It's seem to be a change the implementation for the compile task on grails 2.3.6, so it is able to instrument only the test task.

      | Loading Grails 2.3.6
      
      [clover-setup] Clover is enabled with initstring '/Users/rfy/Developer/xcom/xcom/xcom-web/target/clover/db/clover.db'
      Clover: Forcing a clean to ensure Clover instrumentation occurs. Disable by setting: clover.forceClean=false
      [clover-setup] Detected groovyc compiler groovyc=org.codehaus.groovy.grails.compiler.Grailsc
      
      | Compiling 91 source files....
      | Compiling 91 source files.....
      | configuring joda-time support for simple datastore
      | configuring joda-time support for simple datastore.
      | configuring joda-time support for simple datastore..
      | configuring joda-time support for simple datastore...
      | configuring joda-time support for simple datastore....
      | configuring joda-time support for simple datastore.....
      [clover-setup] Detected groovyc compiler itestc=org.codehaus.groovy.grails.test.compiler.GrailsIntegrationTestCompiler
      [clover-setup] Detected groovyc compiler groovyc=org.codehaus.groovy.grails.compiler.Grailsc
      [clover-setup] Detected groovyc compiler testc=org.codehaus.groovy.grails.test.compiler.GrailsTestCompiler
      [clover-setup] Found groovyc task named testc
      
      [clover-setup] Using test detector com.atlassian.clover.instr.tests.FileMappedTestDetector@6108fe21
      [clover-setup] Clover is enabled in config. Reconfiguring groovyc task testc
      [clover-setup] Extracted /embeddedjars/clover3.2.2/grover.jar to /var/folders/r1/x5hwb7mj5wd04w434wcpd4bj07mp3j/T/grover4480222572818068702.jar
      [clover-setup] Scanning for source to compile: /xxx/xxx/xxx/xxx/xxx/xxx/test/unit
      
      [clover-setup] Found file for instrumentation: /xxx/xxx/xxx/xxx/xxx/xxx/grails-app/controllers/xxx/xxx/xxx/account/LoginController.groovy
      [clover-setup] File /xxx/xxx/xxx/xxx/xxx/xxx/grails-app/controllers/xxx/xxx/xxx/account/LoginController.groovy not in original compile list - ignoring
      [clover-setup] Found file for instrumentation: /xxx/xxx/xxx/xxx/xxx/xxx/grails-app/controllers/xxx/xxx/xxx/account/LogoutController.groovy
      [clover-setup] File /xxx/xxx/xxx/xxx/xxx/xxx/grails-app/controllers/xxx/xxx/xxx/account/LogoutController.groovy not in original compile list - ignoring
      

            Assignee:
            Marek Parfianowicz
            Reporter:
            Sam Zander
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: