2022-01-01

Various enhancements

This release, we have added support for Mockito 4.x.

We have also improved:

  • The speed of indexing in our product. 'Behind the scenes' changes mean there is now an increase in indexing speed.

  • Our documentation for using Diffblue Cover in the CI pipeline. The updates include scripts and a worked example with exact details of implementation - please have a read here! The image below is an extract:

New Developer Edition trial available

We are delighted to now offer a 14-day trial version of our Developer Edition, which includes the Diffblue Cover CLI, as part of our new licensing option. We're really excited that you can now "try before you buy"! To download your trial of Diffblue Cover Developer Edition, please click here. Full information on all our options is also available here.

How do I automatically maintain all of these tests?

Use Diffblue Cover on any CI platform to automatically update your unit tests and catch regressions for every commit - watch this video to learn more.

Enhancements

  • Cover now supports Mockito 4. [Ref: TG-15999]

  • IntelliJ Plugin: Cover no longer performs a potentially lengthy 'indexing' phase once a project is loaded. [Ref: TG-15540]

  • IntelliJ Plugin: Cover no longer attempts to write tests for non-Java files and Java files outside of a folder marked as 'sources root'. [Ref: TG-16032]

Resolved Issues

  • CLI: Resolved an issue which caused dcover clean to not consider the working directory in the test output directory specified by --test-output-dir. [Ref: TG-16241]

  • IntelliJ Plugin: Resolved an issue which caused Cover to attempt to write tests for anonymous classes. [Ref: TG-16184]

  • CLI: Resolved an issue which caused dcover clean --failing to report errors, instead of warnings, when the test source directory could not be found. [Ref: TG-14554]

Known Issues

  • CLI: The command dcover clean --failing does not work on Gradle projects. This command is now deprecated and dcover validate should be used instead. [Ref: TG-11707]

  • IntelliJ Plugin: Diffblue Cover was unable to create an index error may appear if switching projects happens before Cover has finished indexing. [Ref: TG-13772]

  • IntelliJ Plugin: 'Write Test' gutter icons flickering after loading a project or making changes to source code. [Ref: TG-16249]

Last updated