- Some integration tests load plugins relying on Node.js, so make sure the latest LTS version is installed and
nodeis in the PATH. - SonarQube ITs need Java 17 to run and SonarCloud ITs need Java 11
- Make sure your Developer Box is properly setup (see xtranet)
- Configure Orchestrator settings as described here. The Artifactory API key and GitHub token are the only mandatory options. The GH token is a Personal Access Token (classic) with the
reposcope permission, and SSO properly configured - For SonarCloud ITs, make sure the
SONARCLOUD_IT_TOKENenv var is defined (you can find the value in our password management tool) - Run
mvn clean installa first time from thisitsfolder so that test resources are built (like custom plugins)
- From the root folder of the repository, first build sonarlint-core with
mvn clean install - Make sure the
itsprofile is activated in the Maven tool window - Reload the project with the top left button of the Maven tool window
- Open a test class and run it
- From the root folder of the repository, first build sonarlint-core with
mvn clean install - Run
mvn verify -f its/pom.xml -Dsonar.runtimeVersion=<SQ server version>