FAQs

The things we get asked the most. Always worth a look.

chevron-rightWhat is Diffblue Cover?hashtag

Diffblue Cover is a reinforcement learning AI platform that automatically writes comprehensive, human-like Java unit tests. Cover is provided as an IDE plugin (Cover Plugin) and a CLI application (Cover CLI) for developer use and can also be integrated into your CI Pipeline (Cover Pipeline). We've also added three reporting and optimization tools for further monitoring and management control (Cover Reports, Cover Optimize, and Cover Refactor).

See What is Diffblue Cover? for more details and to view our intro video.

chevron-rightDo I have to upload my code to a cloud service?hashtag

No. Cover Plugin and Cover CLI are used on developer workstations and Cover Pipeline operates within your CI environment.

chevron-rightWhat are the benefits of using Diffblue Cover?hashtag

Diffblue Cover helps your team increase automation of your CI pipeline.

For development teams, this:

  • Improves velocity and quality of the software you deliver.

  • Frees up time to focus on creating new features.

For DevOps teams, this:

  • Helps catch errors and issues earlier (shift left!).

  • Improves deployment frequency, lead time, and mean time to repair (MTTR).

See Diffblue Cover What is Diffblue Cover? for more details.

chevron-rightWill the tests find regressions in my code?hashtag

Yes. Diffblue Cover quickly generates tests that will allow you to adopt CI. The generated tests will help developers quickly identify regressions in subsequent commits before committing new versions.

chevron-rightWhat are the requirements for running Diffblue Cover?hashtag

Basic pre-requisites:

  • Java 8, 11, 17, or 21 compatible source code, or Kotlin source code.

  • Maven 3.2.5+, Gradle 4.9+, or Ant 1.10.14+ build tools.

  • The project (for use with Diffblue Cover) must compile and run with no failing unit tests. JUnit and TestNG testing frameworks are supported.

More details:

Diffblue Cover requires that the system environment (hardware, operating system, network connectivity, Java installation) as well as the project environment (build tooling, dependencies, presence of artifacts, existing unit tests) meet the minimum requirements as detailed in Specs & Reqs. Diffblue Cover will perform an environment check before analysis begins to ensure that the requirements are met - if there are any issues, these will be reported using Output Codes.

Note that you can run dcover create --preflight (using Diffblue Cover CLI) to check the Cover pre-requisites for your project, without performing any other actions.

chevron-rightHow can I learn more about customers using Diffblue Cover?hashtag

See our case studyarrow-up-right on how Goldman Sachs has benefited from using Diffblue Cover to increase coverage and create a safety net against regressions.

For examples of other ways our customers use Diffblue Cover, click herearrow-up-right.

chevron-rightHow do we maintain Diffblue unit tests in the future?hashtag

Diffblue regression suites are maintained automatically and updated with each new code version to capture the current behavior of the code.

chevron-rightHow does Diffblue Cover help me adopt Continuous Integration?hashtag

Diffblue Cover AI analyzes your code and writes Java unit tests that run in a CI pipeline after each commit. Cover’s tests:

  • Always compile.

  • Run quickly.

  • Detect regressions from previous versions.

  • Improve coverage.

  • Are easy to understand.

chevron-rightShould our team stop writing unit tests after adopting Diffblue Cover?hashtag

No. Diffblue Cover is meant to complement your own unit tests and help you catch regressions.

chevron-rightHow is a unit test different from a Diffblue regression suite?hashtag

Developers write individual unit tests to test specific functionality. Diffblue regression suites are generated automatically to help find regressions early in the development cycle. Find out more in our Unit Regression Tests eBookarrow-up-right.

Last updated

Was this helpful?