TestBeam

TestBeam plugin logo

TestBeam answers the question “Which tests cover this method?”

It uses static analysis to find test methods that directly reference each production method - no test run required, no special runner, works out of the box.

Available on the JetBrains Marketplace · EULA


Gutter Icons Link to heading

Each method gets a gutter icon showing its test coverage at a glance:

covered icon Green - at least one test directly references this method
uncovered icon Gray - no direct test reference found

Click a gutter icon to open a popup listing every covering test by name. Click any test name to navigate directly to that test method.

Gutter icon visibility can be toggled per-state under Editor → General → Gutter Icons.

TestBeam gutter

Code Vision Hints Link to heading

A Code Vision hint reading “N tests reference this” appears above each method signature. Works alongside gutter icons and can be toggled independently under Settings → Tools → TestBeam.

TestBeam gutter

How It Works Link to heading

TestBeam performs static call-graph analysis across your test sources. It finds every test method that directly calls the production method and annotates the gutter accordingly.

Because this is static analysis, indirect coverage (via helper methods or inheritance) is not detected - what you see is direct, first-level references. No test run needed.


Supported Test Frameworks Link to heading

FrameworkAnnotations detected
JUnit 4@Test
JUnit 5@Test, @ParameterizedTest, @RepeatedTest, @TestFactory
TestNG@Test

Supported Languages Link to heading

Java and Kotlin source files.


Settings Link to heading

Toggle gutter icons and Code Vision hints independently under Settings → Tools → TestBeam.


Requirements Link to heading

IntelliJ IDEA 2024.2 or later (Community or Ultimate).


Changelog Link to heading

1.0.0 - 2026-04-21 Link to heading

Initial release.

  • Gutter icons per method: green (covered) and gray (uncovered)
  • Code Vision hint: “N tests reference this” above method signatures
  • Click gutter icon → popup listing covering test names with one-click navigation to each test method
  • Static call-graph analysis - works without running tests, fully compatible with Gradle
  • JUnit 4, JUnit 5, and TestNG support (@Test, @ParameterizedTest, @RepeatedTest, @TestFactory)
  • Java and Kotlin source support
  • Settings panel (Settings → Tools → TestBeam) to independently toggle gutter icons and Code Vision hints
  • Gutter icon visibility per-state via Editor → General → Gutter Icons