A standalone, lightweight, and customizable Java test runner, debugger, and AI assistant for VS Code.
Features
🚀 Smart Execution & Dashboard
- Webview Dashboard: A rich, interactive dashboard (
java-test-revamp-dashboard) displaying classes, code coverage, test results, cyclomatic complexity, and performance trends. - Zero-Config Coverage: Injects JaCoCo into any Maven project on-the-fly and visualizes coverage line-by-line in the editor.
- Smart Continuous Testing: Inline Failure Blame places test failures directly in the editor with red squiggles. Impact-Aware Auto-Run only runs tests related to your latest changes.
- Visual JVM Explorer: Live thread visualizer, heap histogram viewer, parallel execution timeline, and module dependency graph.
🐞 Standalone JDB Debugging
- No Extra Extensions Required: Provides a fully standalone implementation of the Java Debug Wire Protocol (JDWP) via the
jdbCLI tool. - Advanced Breakpoints: Supports conditional breakpoints, exception breakpoints, and standard line breakpoints without relying on Microsoft's Java Debugger.
- Hot Code Replace: Instantly redefine classes upon saving without restarting the JVM test process!
🤖 AI Context Packager
- Surgical Context Extraction: Click the 🤖 AI Fix button next to a failing test to automatically extract the exact failing test method, any setup/teardown blocks, and surgically extract the specific source code method that threw the error.
- Clipboard Injection: Formats the failure information, stack trace, and relevant code into a Markdown payload and instantly copies it to your system clipboard—ready to paste into ChatGPT, Claude, Copilot, or Gemini.
🏗️ Auto-Generation & Tooling
- Test Generation: GUI-driven JUnit 5 test template generation.
- Cross-Platform: Full compatibility across Windows (win64), macOS, and Linux.
Requirements
- Java Development Kit (JDK) installed and configured in your
PATHor viajava-test-revamp.javaPath. - Apache Maven (uses
mvnwwrapper if present).
Settings
java-test-revamp.javaPath: Custom path tojavaexecutable.java-test-revamp.mavenPath: Custom path to Maven executable.java-test-revamp.lombokPath: Custom path to Lombok JAR.java-test-revamp.vmOptions: Additional VM arguments for tests.