Diffblue Cover gives enterprises and Java developers the means to unlock more value from unit testing, the key enabler of fast delivery of high-quality code.
Its core technology uses AI to autonomously write JUnit tests that are indistinguishable from those created by a developer. A range of additional features leverage this AI for Code platform to further increase coverage, accelerate development and reduce risk.
Cover operates at high speed: it can write more tests in hours than a typical developer could create in a full year, and automatically update your entire unit test library whenever subsequent code changes are made. For new or existing code, on the desktop or embedded in a CI pipeline, Cover eliminates tedious, repetitive, error-prone work from developer workloads.
Diffblue Cover’s key features are built on the foundation of the product’s central AI for Code technology.
Less manual effort and a lower risk of regressions generally mean faster deployment of code, greater productivity and fewer expensive production issues, but Diffblue Cover also helps Java teams achieve some specific goals.
Diffblue Cover writes unit tests at the click of a button so developers can spend their time on more creative work
Diffblue Cover quickly writes tests for large legacy codebases, and identifies untestable code that should be refactored
Diffblue Cover's automatically written unit tests can help pinpoint regressions early and achieve continuous integration
Diffblue Cover creates unit tests in bulk to help your team quickly increase coverage
Diffblue Cover can support the transition by ensuring the code to be migrated is tested
Diffblue Cover's unit tests can help with successful code compilation
Cover is the only fully-automated, AI-powered solution that can automatically write new Java code, improve existing code, accelerate CI pipelines and provide deep insights into the risk of change.
Crucially, Cover’s code-writing technology - based on reinforcement learning rather than generative ‘transformer’ models - operates completely autonomously, without the manual intervention required by some other AI-assisted coding tools. Cover doesn’t just suggest code that might work for you - it writes new code completely automatically. The unit tests it produces accurately reflect the current behavior of your code and are ready to compile and run without developer intervention.
Recognizing the importance of security to every business - and particularly those in highly competitive or regulated industries - Cover runs entirely within your local user environment.
Diffblue Cover only relies on code your developers have written for your Java applications. It never uses code from other sources, like open source repositories. This fact, combined with a deterministic reinforcement learning approach to unit test writing, means that no connections to external servers are required.
With Diffblue Cover no data needs to leave your network.
Diffblue Cover analyzes your existing Java program and writes unit regression tests that reflect the current behavior of the code. Then when your code's behavior changes, Diffblue Cover's tests alert you.
Diffblue Cover can be installed on Linux, Windows and MacOS and runs 100% locally within your user environment. IntelliJ plugin and CLI options are available.
You can run Cover on your entire Java project, just one class, or anything in between (it gets your project structure and dependencies from Maven or Gradle). Cover supports Spring Java apps and writes tests that use standard Spring idioms and mocking.
Cover is available as a CLI tool and as a plugin for IntelliJ IDEA
Advanced Cover users prefer the CLI tool. It's more powerful, scriptable, and can generate tests for entire projects with a single command. The CLI tool works 100% autonomously, configuring itself from your Maven or Gradle environment.
The power of Cover’s CLI is what allows it to be added to a CI pipeline. Each time a pull request is opened Cover can automatically create, execute and update your unit test library at appropriate points in the process.
CI integration is the most scalable, reliable, repeatable option: unit testing becomes an effortless part of your workflow.
The IntelliJ IDEA plugin generates tests per method or per class within the IDE.
The plugin can be used for interactive test writing on the developer desktop, and supports test-driven development (TDD) by quickly generating unit regression tests for utility code in bulk — so you can focus on unit tests that cover the complex, critical business logic, and spend more time writing testable code.
Diffblue Cover creates suites of unit tests that run in your continuous integration pipeline between versions and protect against regressions, so you can catch errors faster and earlier in the software development lifecycle. To learn more, see our our product page.
Diffblue Cover helps your team increase automation of your CI pipeline.
For development teams, this:
For DevOps teams, this:
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.
See the product datasheet for more information.
Diffblue regression suites are maintained automatically and updated with each new code version to capture the current behavior of the code.
Diffblue Cover AI analyzes your code and writes Java unit tests that run in a CI pipeline after each commit. Cover’s tests:
No. Diffblue Cover is meant to complement your own unit tests and help you catch regressions.
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 eBook.