| ... | ... | @@ -89,5 +89,16 @@ sonar.sources=. |
|
|
|
#sonar.sourceEncoding=UTF-8
|
|
|
|
|
|
|
|
```
|
|
|
|
You can now add some code in your project for testing.
|
|
|
|
|
|
|
|
### Running tests with Sonarqube
|
|
|
|
|
|
|
|
Now when you update your project it should run the Sonarqube analysis we set on .gitlab-ci.yml file:
|
|
|
|

|
|
|
|

|
|
|
|

|
|
|
|
|
|
|
|
I added 2 code files for testing one of them had issues.
|
|
|
|
I attached the GitLab output when running test [testreport.txt](/uploads/4f75cf2a514fadcf9f4c13c6b7b115b6/testreport.txt).
|
|
|
|
|
|
|
|
|