My current SonarQube version is : 188.8.131.52792
I am using Community Edition
API’s has been developed using python Programming language.
I am trying to figure out how can I integrate Selenium (Automated testing framework) whose test cases are coded in python with SonarQube to generate a run time code coverage report in SonarQube.
When I am running test cases using selenium tool at that time the SonarQube should be able to generate code coverage report i.e. percentage of code covered while running the automated test cases, during that instance.
I have implemented the SonarQube, report has been generated but the code coverage report is shown as 0. I tried to calculate code coverage for python using coverage.py to generate an .xml file which can be integrated with SonarQube, major setback faced is how should I calculate coverage of API. The analysis done currently is static, I want to achieve runtime code coverage analysis.