jvm-test-quality

Analyze JVM test coverage and generate improvement plans for Java, Kotlin, and Scala.

1|Updated Dec 1, 2016
One-click install
npx skills add https://github.com/aaron-vaz/dotfiles --skill jvm-test-quality
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jvm-test-quality
Source: https://github.com/aaron-vaz/dotfiles/tree/main/opencode/.opencode/skills/jvm-test-quality
Command: npx skills add https://github.com/aaron-vaz/dotfiles --skill jvm-test-quality

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps improve the quality and coverage of unit tests in JVM projects (Java, Kotlin, Scala), ensuring better code reliability and maintainability.

Core Features & Use Cases

  • Coverage Analysis: Identifies gaps in code coverage and suggests specific areas for improvement.
  • Test Generation: Assists in writing effective unit tests, focusing on behavioral verification.
  • Quality Validation: Checks for common anti-patterns like execution-only tests or redundant test cases.
  • Use Case: A developer can use this Skill to analyze their project's current test coverage, receive a prioritized plan to increase it, and get help writing new, high-quality tests for uncovered code.

Quick Start

Use the jvm-test-quality skill to analyze your current test coverage and generate an improvement plan.

Frequently Asked Questions about jvm-test-quality

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I improve JVM test coverage for my Java and Kotlin projects?

Identify JVM test coverage gaps using JaCoCo or Scoverage, generate a prioritized improvement plan, and write new tests focusing on behavioral verification to increase code coverage and improve overall project reliability.

What are common anti-patterns in unit testing that I should validate against?

Common unit testing anti-patterns include execution-only tests that lack behavioral assertions and redundant test cases. Validate test quality by checking for these patterns to ensure your tests effectively verify code behavior rather than just executing it.

Does this test quality analysis work with Scala projects and Scoverage?

Yes, this test quality analysis supports Scala projects using Scoverage. It identifies coverage gaps, automates improvement plans, and validates test quality against best practices across Java, Kotlin, and Scala JVM projects with tiered coverage goals.

How do I generate a test improvement plan for uncovered code?

Generate a test improvement plan by running coverage analysis to identify specific uncovered code areas. The Skill automates this process, prioritizing coverage gaps and assisting in writing effective behavioral unit tests for the uncovered code.

What is the best way to set tiered coverage goals for CI/CD pipelines?

Set tiered coverage goals by configuring coverage thresholds during analysis. The Skill validates test quality against these best practices, ensuring your CI/CD pipeline enforces incremental coverage improvements across Java, Kotlin, and Scala projects.