Skip to content

Commit

Permalink
Test exclusions #65
Browse files Browse the repository at this point in the history
For tests and resources
  • Loading branch information
tillias committed Oct 26, 2020
1 parent 9a16398 commit ba8ccae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
6 changes: 0 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,6 @@
<junit.utReportFolder>${project.testresult.directory}/test</junit.utReportFolder>
<junit.itReportFolder>${project.testresult.directory}/integrationTest</junit.itReportFolder>

<sonar.coverage.jacoco.xmlReportPaths>${project.build.directory}/jacoco/test/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
<sonar.coverage.exclusions>
**/main/resources/**/*,
**/test/**/*,
**/main/webapp/app/admin/**/*
</sonar.coverage.exclusions>
<!-- jhipster-needle-maven-property -->
</properties>

Expand Down
4 changes: 2 additions & 2 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
sonar.projectKey=microcatalog
sonar.projectName=microcatalog generated by jhipster
sonar.projectName=microcatalog
sonar.projectVersion=1.0

sonar.sources=src/main/
Expand All @@ -13,7 +13,7 @@ sonar.testExecutionReportPaths=target/test-results/jest/TESTS-results-sonar.xml
sonar.typescript.lcov.reportPaths=target/test-results/lcov.info

sonar.sourceEncoding=UTF-8
sonar.exclusions=src/main/webapp/content/**/*.*, src/main/webapp/i18n/*.js, target/classes/static/**/*.*
sonar.exclusions=src/main/webapp/content/**/*.*, src/main/webapp/i18n/*.js, target/classes/static/**/*.*, **/main/resources/**/*, **/test/**/*, **/main/webapp/app/admin/**/*

sonar.issue.ignore.multicriteria=S3437,S4502,S4684,UndocumentedApi,BoldAndItalicTagsCheck
# Rule https://sonarcloud.io/coding_rules?open=squid%3AS3437&rule_key=squid%3AS3437 is ignored, as a JPA-managed field cannot be transient
Expand Down

0 comments on commit ba8ccae

Please sign in to comment.