How to Measure Test Coverage in Invoker Tests with JaCoCo
May 31, 2021 · 2 min read · maven test-report integration-testing maven-plugin maven-plugin-testing maven-invoker-plugin jacoco test-coverage ·During the development of the P2 Maven Plugin, I wanted to get an overview about the test coverage of the code. The tests of this plugin can be divided in two groups: Unit tests, that is written with Java, Groovy and JUnit; integration tests, that is written with Maven Invoker Plugin JaCoCo is the defacto standard …
Read MoreTest Coverage Reports For Maven Projects In SonarQube 8.3.x
Jun 10, 2020 · 5 min read · integration-testing jacoco maven sonarqube test-coverage test-report unit-testing ·Some years ago I write a blog post about how to generate test reports in SonarQube separate in test report for unit tests and for integration tests. Since SonarQube 6.2 the test report isn't separate in these categories any more (see SonarQube's blog post). SonarQube merges all test reports to one test report with an …
Read MoreThe default setting in Jenkins is to mark a job yellow, when a Maven build fails because of failing tests. If you don't want to have three status of your jobs, you can configure Jenkins so, that the jobs also mark red independent why a Maven build fails. For this you will need administration rights on your Jenkins …
Read MoreUnit And Integration Test Reports For Maven Projects In SonarQube 4.5.1
Jan 30, 2015 · 6 min read · integration-testing jacoco maven sonarqube test-coverage test-report unit-testing ·Since SonarQube 4.2. the test report isn't generated by the Sonar Maven Plugin during a Maven build (see SonarQube's blog post) . Therefore, the test report has to be generated by another plugin before Sonar Maven Plugin collects the information for the SonarQube server. Here, Jacoco Maven Plugin can help. It has the …
Read More