2024-12-02
2024-12-02
This release introduces an easily accessible status bar widget for the Plugin providing quick access to license consumption details. It also resolves various issues with the CLI, Plugin and Reports.
Important Notices
Changes to test code
Test Method Ordering: In an upcoming release, Cover will adjust test method ordering and imports for inner classes. This will cause a one-time churn, resulting in larger-than-usual diffs in your test code.
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
Plugin: Cover now provides a status bar widget which, when clicked, displays an overview of current license consumption and details. [Ref: TG-22127]
Resolved Issues
Resolved an issue which, in some circustances, caused Cover to incorrectly insert
// Assert that nothing has changed
comments into tests. [Ref: TG-22437]Plugin: Resolved an issue which could, in certain circumstances, display an error after clicking "Fix issue" for a small heap size in the Environment Checks window. [Ref: TG-22400]
CLI & Reports: Resolved an issue which caused
cumulativeDiffblueTestCount
andcumulativeManualTestCount
to be incorrectly counted for TestNG projects. [Ref: TG-22333]
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]
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