|
I've just updated Flex to v1.1 and decided to give code coverage another try, which didn't work before due to this bug: http://jira.codehaus.org/browse/SONARPLUGINS-1762.
Unfortunately, while it works on one project, it fails on another. Same thing as before. Code coverage is generated and I can view it without any issues, but Sonar doesn't show it. According to the log, the file is parsed though.
[INFO] [20:43:52.989] Sensor FlexCoberturaSensor... [INFO] [20:43:52.991] Parsing /FlexUnit4SampleCIProject/target/report/coverage.xml [INFO] [20:43:52.998] Sensor FlexCoberturaSensor done: 9 ms It's just a sample project, which you can find here: https://github.com/frederickjansen/JenkinsTest. The one that does work is example_jg/pom.xml, FlexUnit4SampleCIProject/pom.xml (though exactly the same file) does not work. I've tried removing the project from Sonar and starting from scratch, but that didn't help. Any idea what's going on? |
|
Hi,
Could you please send file "FlexUnit4SampleCIProject/target/report/coverage.xml" ?
On Wed, Jun 27, 2012 at 4:12 AM, Frederick Jansen <[hidden email]> wrote: I've just updated Flex to v1.1 and decided to give code coverage another try, which didn't work before due to this bug: http://jira.codehaus.org/browse/SONARPLUGINS-1762. Best regards, Evgeny Mandrikov aka Godin <http://godin.net.ru> http://twitter.com/_godin_ |
|
Hey Evgeny
Sure, see the attached file. I've slightly modified the source path though. Best regards
Frederick On Fri, Jun 29, 2012 at 12:20 PM, Evgeny Mandrikov <[hidden email]> wrote: Hi, --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
This file raises following question : are you able to see coverage for non "mxml" files, i.e. "as" files ?
On Fri, Jun 29, 2012 at 6:40 PM, Frederick Jansen <[hidden email]> wrote: Hey Evgeny Best regards, Evgeny Mandrikov aka Godin <http://godin.net.ru> http://twitter.com/_godin_ |
|
The other example that does work, is just a .as file yes. I haven't tried mixing them to see what that does.
On Fri, Jun 29, 2012 at 2:49 PM, Evgeny Mandrikov <[hidden email]> wrote: This file raises following question : are you able to see coverage for non "mxml" files, i.e. "as" files ? |
| Powered by Nabble | Edit this page |
