Reputation: 3761
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.
Upvotes: 4
Views: 2192
Reputation: 22804
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.
Upvotes: 5