Basic Concepts

What is Diffblue Cover?

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. Diffblue Cover automatically maintains the tests by updating them when your code changes. It supports standard Java 8 & 11, Spring and Spring Boot.

Diffblue Cover is available as both a plugin for IntelliJ IDEA for interactive test writing and a CLI tool (for Windows, macOS and Linux).

Using Diffblue Cover plugin for IntelliJ to write tests

  1. Install the Diffblue Cover plugin for IntelliJ
  2. Start IntelliJ and load your project
  3. Write your code
  4. Click on the gutter icon, or right-click on the class or method and select Write Tests.

To learn more, please see: Diffblue Cover plugin for IntelliJ.