What's new

Find out the major changes from our current and previous releases.

On macOS, the Cover plugin only supports IntelliJ 2020.2.1 or later.
This is due to a bug in 2020.2 on macOS. Other operating systems are not affected.

Version 2021.01.01

2021.01.01

Jan 11, 2021

This release enhances the readability of tests in the arrange section.

Read more

Version 2020.12.02

Enhancing Spring Controller tests

Dec 18, 2020

This release enhances the Spring Controller tests generated by Cover as well as optimizations to the way Cover indexes your project.

Read more

Version 2020.12.01

Enhancements to mocking void methods and improvements to generated assertions

Dec 08, 2020

This release includes enhancements to mocking void methods as well as improvements to the assertions we generate for methods that return boolean values.

Read more

Version 2020.11.04

Support for Spring ActiveProfile and improvements in assertion generation

Nov 24, 2020

This release includes support for the Spring ActiveProfile. It also includes improvements that allow the generation of assertions for methods that return Maps, Lists and Sets. We can also now generate tests even when no assertions are present.

Read more

Version 2020.11.01/02/03

Spring functionality, mocking and Maven

Nov 09, 2020

Extra functionality for Spring controllers, improved support for mocking, custom Maven settings & auto-applying Spring formatting on Maven projects.

Read more

Version 2020.10.02

Supporting projects with a JUnit 5.7.x dependency

Oct 26, 2020

Enhanced functionality by supporting projects which have a JUnit 5.7.x dependency. Other improvements include improved user guidance.

Read more

Version 2020.10.01

Service logging and Spring Controller support

Oct 12, 2020

Enhancement to test creation service logging, and additional tests for Spring Controllers.

Read more

Version 2020.09.02

Improved stability and reporting

Sep 28, 2020

Improved stability of test creation for projects which contain multi-threaded code, and improved reporting on tests which have been discarded during test verification.

Read more

Version 2020.09.01

Enhanced mocking and version detection

Sep 14, 2020

Diffblue Cover now has enhanced mocking and version detection. Some performance improvements have also been included.

Read more

Version 2020.08.c

IntelliJ IDEA 2020.2 support

Aug 30, 2020

Diffblue Cover now supports IntelliJ IDEA 2020.2.

Read more

Version 2020.08.b

Extra Spring Controller method tests

Aug 17, 2020

Addition of extra tests for certain Spring Controller methods. A number of issues have also been resolved.

Read more

Version 2020.08.a

More Spring method tests, improved verification guidance

Aug 03, 2020

Improved messaging and guidance in test verification, and more tests for Spring methods requiring Repository mocking. A number of previous issues have also been resolved.

Read more

Version 2020.07.b

Added mocking of classes

Jul 20, 2020

Cover now supports mocking of classes via the --mock option. A single class, or a series of strings which represent the prefixes of classes to be mocked can be specified. It also creates tests for exceptions, defined by a throw statement, if a non-exception test case is present for the method being tested. Support for JUnit 4.13 has been added.

Read more

Version 2020.07.a

Improved information and guidance

Jul 06, 2020

Cover now provides improved information, and guidance, if an incomplete class path is provided, if tests are discarded during test verification, or if initialization fails on Spring projects. In addition, when appropriate, Cover now writes tests which use the @ContextConfiguration annotation instead of @SpringBootTest.

Read more

Version 2020.06.b

Increased Spring support and purging of user threads

Jun 22, 2020

Cover now supports smart mocking of autowired beans, resulting in increased Spring code coverage. Cover is now also able to purge user threads during ‘Essential Test’ generation, reducing the risk of exhausting JVM and/or system resources.

Read more

Version 2020.06.a

Determinate progress bar added

Jun 08, 2020

Indexing progress is now shown as a determinate progress bar, showing progress towards completion. The file currently being indexed is also now displayed.

Read more

Version 2020.05.b

Support for JUnit 5.6

May 26, 2020

Cover now supports projects which have JUnit 5.6.x as a dependency. It also now produces tests for multiple paths in Spring Controller methods.

Read more

Version 2020.05.a

Reuse of existing indexes

May 12, 2020

When running either DCover or the plugin on a project that has previously been analysed, the existing index will now be updated for any changed source files and reused, rather than generating a new index of the whole project from scratch.

Read more

Version 2020.04.b

General Improvements

Apr 28, 2020

Improvements have been made in three areas: The choice of input values for strings, Gradle classpath detection support and performance improvements for test generation in Spring projects.

Read more

Version 2020.04.a

Gradle configuration detection and Spring Repository Beans mocked

Apr 14, 2020

Gradle configuration is now automatically detected, and Spring Repository Beans are mocked using @MockBean and Mockito. Tests are now created that require calling setter methods and require more complex constructors, increasing the number of branches tested.

Read more

Version 2020.03.c

Further testing detection from Maven

Mar 30, 2020

For the CLI version: Besides the classpath, we now also detect the testing framework, version, compliance level and the test verification command automatically from the Maven configuration. For the plugin version: The status of test creation for each method is now displayed clearly in the progress bar and event log.

Read more

Version 2020.03.b

Extended Spring support

Mar 16, 2020

Tests are now created for Spring `@Service` and `@Repository` classes. Tests created for classes using the Spring Framework also support JUnit 5.

Read more

Version 2020.03.a

Extended Spring support and CI integration optimization

Mar 02, 2020

Extended support for Spring Boot and Spring MVC classes with `@Controller` and `@Service` annotations. It is now possible to exclude problematic packages/classes/methods from the CLI analysis.

Read more

Version 2020.02.b

Spring Boot and Spring MVC Support

Feb 17, 2020

Support for Spring Boot and Spring MVC classes with @Controller annotations. More natural and realistic input into generated tests.

Read more

Version 2020.02.a

Further Advanced tests

Feb 03, 2020

Advanced tests cover several paths in a test method, increasing the ability of the test suite to catch regresssions.

Read more

Version 2020.01.b

Advanced tests

Jan 24, 2020

Advanced tests cover several paths in a test method, increasing the ability of the test suite to catch regresssions.

Read more

Version 2020.01.a

Reduced trivial, non-compiling and non-passing tests

Jan 20, 2020

Improvements to the test-generation engine to minimise non-compiling and/or non-passing tests, and CLI option to remove these tests. Removed trivial tests that only contain `assertNotNull` on an object.

Read more