Hi,
We are working on Sonar for IOS Mobile Project. We successfully found a way (script) to create a code coverage XML file in Generic Coverage Test Data format.
But we haven’t found any solution for Test Execution. We tried using XCPretty, ocunit2junit, and link the generated file to sonar.cfamily.cppunit.reportsPath in sonar properties file, but no Luck
can anyone help me with this process to set Test Execution for the IOS project?
Hi @AlxO,
We are using Objective - c language and we are using Bit bucket as the repository.
as for the scanner, using SonarScanner only not using any other as of now.
nope, I don’t know any. However it seems possible to ask Xcode to create a test report which you can translate to SonarQube format. If you search on the internet for xcrun xcresulttool json you should get some pointers, or look at xcpretty--report option.