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 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 code
  4. Right-click on class or method and select Write Tests.

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