25g-Code Coverage - JaCoCo Maven Plugin | Goal-Report-Aggregate | Maven for Beginners | Code Journal
Вставка
- Опубліковано 13 гру 2024
- Hello Everyone and welcome to the video series - Maven for Beginners.
Code coverage is a metric that can help you understand how much of your source is tested. It's a very useful metric that can help you assess the quality of your test suite. A program with high test coverage has more of its source code executed during testing, which suggests it has a lower chance of containing undetected software bugs compared to a program with low test coverage. So, it really depends on how well your tests are written.
Now, there are multiple tools available to help you measure the code coverage for your Java code like Open Clover, Cobertura, JCov. However, in this article, we will be taking a look at the most popular tool in this list - JaCoCo. We will see report-aggregate goal and its configuration options.
Here is the Article for the Video - www.thecodejou...
Here is the Github code - github.com/the...
#Maven #Tutorial #DevOps #Learning #CodeJournal #MavenForBeginners #DependencyManagement #MavenLifecycle #JUnit #JUnit4 #Junit5 #Surefire #Testing #TestNG #JaCoCo #CodeCoverage #Java
Should I create new module to configure report-aggregate , can't i do that in Parent POM??