Exclude frontend unit tests from sonar qube code coverage

This commit is contained in:
Konstantin Schaper
2020-05-18 12:04:16 +02:00
parent dfb8a60cc4
commit d95dcfb038

View File

@@ -954,6 +954,7 @@
<sonar.cpd.exclusions>**/*StoreFactory.java,**/*UserPassword.js</sonar.cpd.exclusions>
<sonar.nodejs.executable>./scm-ui/target/frontend/buildfrontend-node/node-v${nodejs.version}-linux-x64/bin/node</sonar.nodejs.executable>
<sonar.coverage.exclusions>**/*.test.ts</sonar.coverage.exclusions>
<!-- Possibility to skip only the unit test. Can be useful when running only integration tests.
This can be used from the command line as follows: mvn <goals> -DskipUnitTests -->