sonar-xquery-plugin icon indicating copy to clipboard operation
sonar-xquery-plugin copied to clipboard

test coverage?

Open jfix opened this issue 10 years ago • 5 comments

Hi, thanks for the plugin! I've tried using it and it works with some caveats (we're using Xquery 3.0 constructs like ! and ||). However, one thing I didn't manage to get output for is test coverage. Is there something particular to configure, or is this a future feature?

jfix avatar Apr 29 '14 12:04 jfix

Hi, I have problems making the plugin, Could you help me about how you make the plugin?

This is my problem https://github.com/malteseduck/sonar-xquery-plugin/issues/16

Thanks.

ndvalencia avatar May 22 '14 14:05 ndvalencia

Is there a XQuery testing framework that outputs test coverage information? There were no plans to implement showing this information in sonar because I was not aware of any framework that could do it. This currently only shows results, and only if those results are in a TestNG XML output format, if I remember correctly.

malteseduck avatar May 23 '14 14:05 malteseduck

xray now seems to have some code coverage support so at least it is now possible to potentially support this.

malteseduck avatar Jun 26 '14 21:06 malteseduck

yes, I noticed in branch 2.1 code coverage will be available.

jfix avatar Jun 26 '14 21:06 jfix

Hi

SonarQube 4.3 and plugin 2.1 does not show proper output as in Issue 17. Is this fixed ?

or can we do code coverage for xquery with plugin 1.4 and sonarQube 3.5.1

Do we also have any tutorial for writing code coverage tests for xquery?

PriyaPrabakar123 avatar Nov 27 '17 13:11 PriyaPrabakar123