Skip to content

SurpSG/diff-coverage-idea-plugin

Repository files navigation

diff-coverage-idea-plugin

Build Version Downloads

Installation

  • 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...

How to use

  • 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 run configuration

How it works

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

    Diff Coverage report view Diff Coverage project view