Details
-
Bug
-
Resolution: Won't Fix
-
Medium
-
3.2.1
-
None
-
Severity 2 - Major
Description
Steps to reproduce:
- import Grails-based project into IntelliJ IDEA
- add Clover Grails plugin to the project
- run forked tests from IDEA
Build fails with an error like:
| Error Error running forked test-app: No such property: testNames for class: _Events (Use --stacktrace to see the full trace) | Error Forked Grails VM exited with error
Workaround:
- disable forked test execution in IDEA
Probable cause:
IDEA does not call "grails test-app" but executes the GrailsScriptRunner, e.g.:
java -cp ... org.codehaus.groovy.grails.cli.support.GrailsStarter --main org.codehaus.groovy.grails.cli.GrailsScriptRunner
The most probably this runner does not import the _GrailsTest.groovy, which contains a definition of the testNames property.
Attachments
Issue Links
- is related to
-
CLOV-1457 clover-for-grails plugin is not working with grails.project.fork
- Closed