What's New > Version 2021.09.02

Enhanced test generation and user feedback

Release date: Sep 28, 2021

Enhanced test generation

This release, we have done some work behind the scenes to ensure that you always get both the best tests and the most tests written. This is part of the work we have done over the last few releases to ensure the best user experience possible.

Plugin updates

We now give precise progress information at every stage of the test writing process, in addition to detailed feedback for each method.  An example of this progress information is shown below:

Diffblue Cover Community Edition is available for use with commercial code

Community Edition allows you to write tests for both open source and commercial code. This means you can now use Diffblue Cover Community Edition at work completely for free. Visit our documentation to learn more about how you can use Diffblue Cover at work, and also see our End-User License Agreement.

Feedback

If you have feedback, questions or requests regarding the Diffblue Cover IntelliJ Plugin, please contact us on the Community Forum. We would love to hear about what is important to you and what you would like to see in upcoming releases.

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.


Full Release Notes

Enhancements

  • Cover now writes tests for inherited Spring Repository methods. [Ref: TG-15453]

  • Cover now mocks classes from java.sql and javax.sql by default, when using --spring-integration-tests. [Ref: TG-15444]

  • IntelliJ Plugin: The Diffblue Cover tool panel now shows test creation information per method. [Ref: TG-14697]

Resolved Issues

  • IntelliJ Plugin: Resolved an issue which caused an image on the ‘Getting Started’ window to not load, instead showing ‘Image failed to load’. [Ref: TG-15553]

  • Resolved an issue which caused Cover to not populate POJO setters if additional non-public constructors were found. [Ref: TG-15335]

  • Resolved an issue which caused Cover to write tests which would not compile when asserting equality on boxed/unboxed types. [Ref: TG-14801]

Known Issues

  • CLI: dcover clean --failing fails when used with a Gradle project. [Ref: TG-11707]

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