-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Coverage results showing empty in latest version #28
Comments
What version of grails are you using? |
Hey Jeff, it is Grails version 2.3.7 |
And forked mode is off? I have it working with 2.3.7 If you can either let me see the project or create a simple test project that has the same error that would be very helpful. |
I tried both forked and unforked. On 25 June 2014 15:45, Jeff Beck notifications@github.com wrote:
|
I will also try to reproduce with some projects at work that need updated Jeff |
I tried with 2.3.4 and 2.3.7 and I'm not reproducing the issue yet. You should see a message like: Instrumenting classes for coverage... Do you see anything like that after the instrumenting classes for coverage? |
Yes, I see the following:
INFO: Found ASM 3:
[java] Java Result: 1
Jun 26, 2014 8:49:21 AM INFO: Cobertura: Coverage data file Jun 26, 2014 8:49:21 AM INFO: Cobertura: Saved information on 0 classes. Done with post processing reports in 8ms
Jun 26, 2014 8:49:25 AM INFO: Cobertura: Loaded information on 0 classes. Jun 26, 2014 8:49:25 AM INFO: Cobertura: Saved information on 0 classes. Done with post processing reports in 10ms
I wonder if there is some plugin or other doing something funky that For example, I use the i18nEnum plugin, uses AST transformation On 26 June 2014 07:46, Jeff Beck notifications@github.com wrote:
|
I haven't used that plugin before do you mind setting up a skeleton project with that plugin being used how you would expect? |
I falsely accused that plugin ;) On 26 June 2014 15:26, Jeff Beck notifications@github.com wrote:
|
Jeff, an update for you: either plugin on its own does not appear to cause the issue, but the combination of both plugins I mention does. I've put a sample project together which I hope also doesn't work for you: https://github.com/halfbaked/sample-grails-cobertura Run:
And you should see:
|
Thanks for all the help, I think I have a fix now I did a pull request check out halfbaked/sample-grails-cobertura#1 |
Do you know when did fix will be released? |
@marcos-carceles I'll review your PR today and look at releasing a version today/tomorrow |
Using the latest version of the plugin, the coverage.xml file has and an empty packages node, where in the old version it was full of data.
I see the following in the logs:
The text was updated successfully, but these errors were encountered: