Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sonarqube plugin to execute PL/SQL test procedures

I'm working with Sonarqube recently & we had a requirement to scan PL/SQL projects, which we are able to do using SonarPLSQL plugin.

But there are some test cases written in Procedures (inside a PL/SQL package), which perform testing over the the source code (present in a different Pl/SQL package).

I've a requirment in which I want sonar to perform code-coverage anaylsis.

Is there any sonar plugin avaliable that can execute these test cases and provide me the code-coverage metrics?

Also, if there is an alternate approach for my problem, please suggest.

like image 692
reiley Avatar asked Nov 15 '25 10:11

reiley


1 Answers

Analysis will not execute your tests. It will only read some reports of your test execution. You must execute your tests independently and then convert the results into the Generic Test Data format for inclusion in your analysis.

like image 54
G. Ann - SonarSource Team Avatar answered Nov 18 '25 16:11

G. Ann - SonarSource Team