2024-03-02
This release improves test writing for methods utilizing Kafka Consumers and those returning Mono or Flux sequences. Additionally, Cover Reports now shows an overview of project coverage and a list of recently viewed projects. See the full Release Notes below for details of all enhancements and resolved issues covered by this release.
Enhancements
Cover: Diffblue Cover now writes tests using
isA
andisNull
argument matchers as part of verify statements, replacing the use ofany
. This does not affect argument matchers for primitives, Strings and enums which useeq
. [Ref: TG-20821]Reports: Cover Reports now provides a project coverage summary table on the Overview tab. [Ref: TG-20694]
Cover: Diffblue Cover now writes tests for methods which use a Kafka Consumer by using a
MockConsumer
. [Ref: TG-20637]Cover: Diffblue Cover now writes tests which use Project Reactor's
StepVerifier
for methods that returnMono
andFlux
sequences. [Ref: TG-20270]Reports: Cover Reports now provides a list of recently viewed projects in the main navigation menu. [Ref: TG-19630]
Resolved Issues
Reports: Resolved an issue, in the administrator view, which prevented moving a project group to the root of the hierarchy. [Ref: TG-21015]
Plugin: Resolved a cosmetic issue which caused a scroll bar to appear on the 'Community Edition license created' screen when IntelliJ's zoom was set higher than 100%. [Ref: TG-20942]
Known Issues
Plugin: Cover Plugin incorrectly provides a menu option to write tests for a test file. [Ref: TG-17163]
Cover: Diffblue Cover may produce tests for JUnit 4.10 and lower that do not compile due to the use of
assertNotEquals
. [Ref: TG-17605]Cover: Diffblue 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: Cover may encounter an
F009: Internal error
while writing tests using Mockito 5. To avoid this issue use a version of Mockito earlier than 5. [Ref: TG-19610]Plugin: Under some circumstances, when writing tests at a Class level, Cover will delete an existing getter test. [Ref: TG-20611]
Plugin: Under some circumstances, when writing Java tests for Kotlin code, Cover may produce non-compiling tests. [Ref: TG-20759]
Last updated