2024-11-02
2024-11-02
In this release, Cover has been optimized to improve test quality by reducing the number of assertions written while maintaining test coverage. This results in cleaner, more maintainable, and more readable tests. It also resolves various issues with the CLI, Plugins and Reports. Full details of these updates can be found in the release notes below.
Important Notices
Deprecations
IntelliJ IDEA 2024.1: Cover 2024.11.02 is the last release that supports IntelliJ IDEA 2024.1. Starting with Cover 2024.12.01, only IntelliJ IDEA 2024.2 and 2024.3 will be supported.
Diffblue Cover is now generally available to individual developers and small teams.
We've just launched our Developer Edition license. From today, individual developers can leverage the power of AI they can trust for unit test generation and maintenance.
Enhancements
Cover now supports Mockito 5.14.2. [Ref: TG-22159]
Cover is now more selective in the assertions it writes in tests and tries to avoid writing more than 10 assertions per test. [Ref: TG-22147]
Reports: Cover now provides extra information via ⓘ icons to explain what code is counted towards quota usage. [Ref: TG-22146]
Reports: Cover now allows the Cover Reports server URL to be specified via an environment variable
DIFFBLUE_COVER_REPORTS_UPLOAD_URL
. [Ref: TG-22054]Cover now provides EAP support for IntelliJ IDEA 2024.3. [Ref: TG-21974]
Resolved Issues
N/A [Ref: TG-22323]
Resolved an issue which, in some circumstances, could cause Cover to fail to write tests because of wildcards in
collection
types. [Ref: TG-22161]Reports: Resolved an issue which could cause quota usage to be incorrectly reported when running
dcover coverage-reports
followed bydcover upload
. [Ref: TG-22099]
Known Issues
Plugin: Cover incorrectly provides a menu option to write tests for a test file. [Ref: TG-17163]
Cover supports Open JDK and Oracle JDK; results with other JDKs may differ due to the variability in their implementations of Java. [Ref: TG-19345]
Cover may encounter an
F009: Internal error
while writing tests using Mockito 5. To avoid this issue use an earlier version of Mockito. [Ref: TG-19610]Reports: Cover only counts Java code towards the total line count metrics. Kotlin code is not currently included. [Ref: TG-22088]
Reports: Total lines of code metric can incorrectly count a multi-line comment at the end of a line of code, resulting in fewer than expected lines counted. [Ref: TG-22089]
Reports: Following an upgrade, the 'Total Lines of Code' card may show 0 until a new reports bundle has been uploaded. [Ref: TG-22094]
In some circumstances, Cover may write more simplistic tests with less meaningful assertions when Spring Boot dependency injection is disabled. [Ref: TG-22102]
In some circumstances, Cover will still write Spring Boot tests when Spring Boot dependency injection is disabled. [Ref: TG-22103]
Cover may write failing TestNG tests when Spring Boot dependency injection is disabled. [Ref: TG-22107]
Last updated