What's New > Version 2022.10.02
Improved logging now available
Release date: Oct 24, 2022
Plugin - Improved logging now available
For our IntelliJ plugin users, additional logging is now available whenever you write either tests or skeleton tests. A timestamped log file is created in addition to the standard logs containing all activity, which makes it significantly easier to find a particular event. The screenshot below shows the contents of the /tmp/diffblue/log
directory with the standard user log alongside a new timestamped user log:
Mockito versions
In this release, we have standardized the Mockito versions supported by Diffblue Cover. This, and other useful information, is shown in our Datasheet:
Java Version | Supported Mockito Versions |
---|---|
17 | 4.1.0 - 4.7.0 |
11 | 2.22.0 - 4.7.0 |
8 | 1.9.5 - 4.7.0 |
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.
Full Release Notes
Enhancements
-
Cover no longer consumes ‘remaining tests’ allowance if, across multiple ‘Write Tests’ operations, a pre-existing test is written again. [Ref: TG-17852]
-
CLI: Cover now provides improved messaging and guidance when it encounters
E012
(Error when using build system). [Ref: TG-17657] -
CLI: Cover now provides improved messaging and guidance when it identifies issues with Spring dependencies. [Ref: TG-17561]
-
CLI: Cover now provides improved messaging and guidance when it identifies tests which will not execute due to an issue with the Maven Surefire Plugin. [Ref: TG-17559]
-
IntelliJ Plugin: Cover now produces separate log files for each “Write Tests” operation. [Ref: TG-17713]
Resolved Issues
-
Resolved an issue which caused Cover to not provide a warning if a version of Mockito lower than
2.22.0
is used with Java 11 or higher. [Ref: TG-17943] -
Resolved an issue which would cause Cover to report
R004
instead ofR002
(Missing observers). [Ref: TG-17869]