What problem does it solve?
This Skill helps you configure, generate, and analyze code coverage reports for Java/Gradle projects using JaCoCo, ensuring your tests are effective and your code quality is high.
Core Features & Use Cases
- Setup & Configuration: Integrates JaCoCo into your Gradle build for seamless coverage reporting.
- Thresholds & Exclusions: Define minimum coverage targets and exclude irrelevant code (e.g., generated files).
- Multi-Module Support: Aggregates coverage reports across multiple modules in your project.
- SonarQube Integration: Configures reports for seamless integration with SonarQube for quality analysis.
- Use Case: You've just added new tests to your Java application and want to verify they cover the critical business logic. This Skill will help you set up JaCoCo to generate a report showing exactly which lines of code are covered, and alert you if coverage drops below your defined threshold.
Quick Start
Use the java-coverage skill to configure JaCoCo for your Java/Gradle project.