Getting Started

Diffblue Cover is an automated unit test-writing tool. It analyses your existing Java application and writes unit tests that reflect the current behavior, increasing test coverage and helping you find regressions in future code changes. DCover automatically maintains the tests by updating them when your code changes, and supports standard Java 8, 11 & 17, Spring and Spring Boot.

DCover is available as a CLI tool for Windows and Linux and works 100% autonomously, configuring itself from your Maven or Gradle environment. There is also a Diffblue Cover plugin for IntelliJ IDEA for interactive test writing.

Get DCover CLI:

  • 14-day free trial
  • Pricing options


  • Get started with DCover CLI:

    For full instructions please see our pages on getting started with Diffblue Cover CLI for Linux / macOS or for Windows.

    1. Download the zip file of DCover CLI to your home directory

    2. Enter the following commands:

    • mkdir ~/bin
    • cd ~/bin
    • unzip ~/diffblue-cover*.zip
    • cd
    • export PATH=$PATH:~/bin

    3. Next, run the command dcover --help to verify the installed version.

    4. You now need to write some tests. Please use the dcover create command as described here.

    5. Use our Cover Reports tool to gain insights about your code.

    6. Please also check out our Knowledge Base for more guides, videos and information.

Get DCover IntelliJ Plugin:

  • 14-day free trial
  • Community Edition
  • Pricing options
    • Get started with DCover IntelliJ Plugin:

      For full instructions please see here.

      1. Install DCover IntelliJ Plugin.

      2. Make sure your project compiles correctly with IntelliJ’s “Build Project” feature.

      3. Find a method or class for which you want to generate tests.

      4. Click on the gutter icon, or right-click on the class or method and select Write Tests.

      5. Look at your new tests in /src/test/java.

      5. Please also check out our Knowledge Base for more guides, videos and information.