You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The script xccov-to-sonarqube-generic.sh that converts the results of xcode unit and coverage tests to sonar format no longer works! It runs but Coverage.xml is empty.
Conversion result: xml <coverage version="1"> </coverage>
The last update we have of this script is from 2019.
The text was updated successfully, but these errors were encountered:
Hi @douglastaquary , sorry for the trouble. Let me see if we can update it or at least refer this tool to our dev team for correction.
Can you provide a sample project showing this error? What Xcode and SonarQube version are you using? Once I can reproduce your issue, this can help speed up the resolution.
For the future, if you have an immediate concern (like this issue you opened), it is best to open a thread on Sonar Community, which is where you will most likely get a better response, but let me see if I can help you here.
Hi @joe-tingsanchali-sonarsource, the project we are working on is private and I am not allowed to show it. To reproduce the issue, simply create an iOS project, create a test pattern, and run. Then after xcode creates the .xcresults file, run the script passing through the file path. It will return empty content. We are using xcdode 15.2, we tested it on 15.4 and 16. The sonar version we are using is enterprise edition v9.9.6.
The script xccov-to-sonarqube-generic.sh that converts the results of xcode unit and coverage tests to sonar format no longer works! It runs but Coverage.xml is empty.
Conversion result:
xml <coverage version="1"> </coverage>
The last update we have of this script is from 2019.
The text was updated successfully, but these errors were encountered: