Skip to content

green-code-initiative/ecoCode-mobile-ios-swift-test-project

Repository files navigation

Plugin SonarQube iOS Test Project

This project aims to demonstrate how to integrate plugin-sonarqube with an iOS project

Step 1 : prepare local environment

To launch local environment : please follow https://github.com/green-code-initiative/ecoCode/blob/main/INSTALL.md (especially SonarQube configuration part and get generated private token)

Step 2 : send Sonar metrics to local SonarQube

./tool_send_to_sonar.sh MY_SONAR_TOKEN

or

mvn org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184:sonar -Dsonar.login=MY_SONAR_TOKEN

Step 3 : check errors

on local SonarQube, check if each file contains (or not) the rule error defined for this class (for example : you can search for tag eco-design rule on a special file)

About

Swift project to test the swift plugin of ecoCode-mobile.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published