|
Hello,
All these are talking about the coverage for an project which is maven enabled, as mentioned my application is not mavenized not in a mood to make it maven based. So kindly suggest me in this direction. Thanks, Ranjit -------- Original Message --------
Hi Ranhit Have you looked at
http://docs.codehaus.org/display/SONAR/PHP+Plugin
?
There is plenty of
information about how to setup it and run analysis for PHP projects.
Regards
2012/7/3 Ranjit <[hidden email]>
Hello, |
|
Hi Ranjit
Then this is what you're looking for.
Regards 2012/7/3 Ranjit <[hidden email]>
|
|
Thanks Patroklos.
I will try this. Ranjit On 07/03/2012 12:46 PM, Papapetrou P.Patroklos wrote: Hi Ranjit |
|
In reply to this post by Patroklos Papapetrou
Hi guys,
If my understanding correct, then original question was more about unit tests for PHP in Sonar. And again if my understanding correct, then Sonar PHP Plugin is able to execute PHPUnit which generates coverage report, which then parsed and injected into Sonar. This feature should be available even without Maven - see http://docs.codehaus.org/display/SONAR/PHP+analysis+with+the+Sonar+Runner Also seems that there is no support for other coverage engines.
Hope this will help. On Tue, Jul 3, 2012 at 1:16 PM, Papapetrou P.Patroklos <[hidden email]> wrote: Hi Ranjit Best regards, Evgeny Mandrikov aka Godin <http://godin.net.ru> http://twitter.com/_godin_ |
|
YES EXACTLY.
We have an selenium script written, which we want to execute as part of regression testing & get the code covered as part of the test script execution. Not clear with below statement Also seems that there is no support for other coverage engines. if you elobrate it more, it will be helpful. Thanks lot for response. Ranjit On 07/03/2012 01:11 PM, Evgeny Mandrikov wrote: Hi guys, |
|
I'm not Sonar PHP Plugin developer (yet?) and not PHP expert , so might be wrong, but seems that :
On Tue, Jul 3, 2012 at 2:02 PM, Ranjit <[hidden email]> wrote:
Best regards, Evgeny Mandrikov aka Godin <http://godin.net.ru> http://twitter.com/_godin_ |
|
Hi all, Evgeny, you are correct. In case of reusing pre-generated PHP unit coverage reports, one have to ensure that the PHPUnit version used to generate the reports is compatible with the one specified on Sonar PHP Plugin page. Different versions seem to have different formats or behaviour. Greetings Akram On 03/07/2012 10:02, Evgeny Mandrikov wrote: I'm not Sonar PHP Plugin developer (yet?) and not PHP expert , so might be wrong, but seems that : |
| Powered by Nabble | Edit this page |
