What's New > Version 2021.04.01

Increased support for IntelliJ IDEA editions

Release date: Apr 13, 2021

Increased support for IntelliJ IDEA editions

Cover now supports both IntelliJ IDEA Community Edition 2021.1 and IntelliJ IDEA Ultimate 2021.1.

Increased coverage for IntelliJ plugin

The Diffblue Cover IntelliJ plugin is now able to increase coverage for methods which accept or return ENUMs.

Diffblue Cover Community Edition is now available for use with commercial code

We’ve updated our End-User License Agreement to open up Community Edition for writing tests for both open source and commercial code. This means you can now use Diffblue Cover Community Edition at work completely for free.

Many organisations may have restrictions against using free software or need additional protection. Visit our documentation to learn more about how you can use Diffblue Cover at work.

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

  • IntelliJ Plugin: Cover now supports IntelliJ IDEA Community Edition 2021.1 and IntelliJ IDEA Ultimate 2021.1. [Ref: TG-13855]

  • IntelliJ Plugin: Cover is now able to increase coverage for methods which accept or return ENUMs by enabling the option in Cover’s plugin settings. [Ref: TG-14136]

  • CLI: Cover’s --enable-value-coverage option has been renamed to --cover-all-enums. [Ref: TG-14179]

  • CLI: Cover now spends less time analyzing methods which take a long time to execute. [Ref: TG-14034]

Resolved Issues

  • IntelliJ Plugin: Resolved some cosmetic issues on the “It looks like you haven’t used Cover in the last 2 weeks” form. [Ref: TG-14166]

  • IntelliJ Plugin: Resolved an issue which would cause Cover to continue attempting to write tests if the project failed to compile. [Ref: TG-14067]

  • IntelliJ Plugin: Resolved an issue which could cause an invocation of ‘Write Tests’ to be blocked by dialog windows (such as the “Add to Git” dialog window). [Ref: TG-13607]

  • CLI: Resolved an issue which caused warnings to appear while indexing JARs that contain certain resource types. [Ref: TG-14165]

  • CLI: Resolved an issue which lead to spurious errors concerning spring-boot versions mismatch for newer versions. [Ref: TG-14059]

  • Resolved an issue which prevented Cover from writing tests which cover inner classes of Spring classes. [Ref: TG-13967]

Known Issues

  • CLI: Windows: creating config.json by outputting --example-config as file causes exceptions. [Ref: TG-11198]

  • CLI: All tests may be discarded in test validation when using --config. [Ref: TG-11475]

  • CLI: dcover clean --working-directory throws an error if --test-output-dir is not provided. [Ref: TG-11665]

  • CLI: Cover fails to generate tests, reporting java.lang.OutOfMemoryError, when analyzing projects which spawn a quantity of threads in excess of the operating system’s process thread limit. [Ref: TG-11680]

  • 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]