-
Using IDE built-in plugin system:
Preferences > Plugins > Marketplace > Search for "diff-coverage-idea-plugin" > Install Plugin
-
Manually:
Download the latest release and install it manually using Preferences > Plugins > ⚙️ > Install plugin from disk...
-
Create or open gradle project
-
Apply and setup DiffCoverage Gradle plugin
-
Make some changes to your code and run tests to collect coverage info
-
Set up Diff Coverage run configuration
Diff coverage IDEA plugin:
-
detects a module to which DiffCoverage Gradle plugin is applied and collects settings
-
Analyzes coverage of uncommited code
-
Displays coverage panel for uncommited code and shows a balloon with coverage stats
-
Displays coverage for uncommited code in the project view and in code editor