| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
This project is used as input for unit tests of our rules and our ITs. The project requires JDK 21.
Use this module for rule test samples that are meant to behave like regular Maven sources. In java-checks tests, this typically means files loaded through TestUtils.mainCodeSourcesPath(...), TestUtils.testCodeSourcesPath(...), or TestUtils.nonCompilingTestSourcesPath(...).
This is the right place when a sample:
Prefer java-checks/src/test/files only for fixtures that are not supposed to belong to one of these Maven modules, for example parser-only inputs or other ad hoc verifier fixtures.
To analyze it with a local instance of SonarQube up and running, use the following command from its root:
mvn clean install sonar:sonar -Panalyze-tests
You can also use the project to test the behavior of sonar-scanner with various configuration, as long as you have a local instance of SonarQube up and running:
sonar-scanner -Dproject.settings=sonar-project-no-binaries.properties
sonar-scanner -Dproject.settings=sonar-project-with-binaries.properties
| Back | FazBrowse Home | New Git URL |