2024-09-01

This release introduces Test Review (Beta), a feature that allows editing, analyzing, and managing Diffblue Cover-generated tests before they are added to the codebase. When enabled, tests are held for review, providing an opportunity to refine them before insertion. For details on how to enable Test Review (Beta), please refer to the documentation.

Enhancements

  • Plugin: Cover now offers the ability to edit and review Diffblue-generated tests before they are added to a codebase through the Test Review (beta) feature. Test Review (beta) can be enabled in the Diffblue Settings. [Ref: TG-21657]

  • CLI: Cover now provides improved remediation advice when encountering E022 (Diffblue Cover was not able to discover the path to the JUnit Jupiter Launcher). [Ref: TG-21637]

  • Cover now writes tests that assert on the contents of Properties objects. [Ref: TG-20888]

Resolved Issues

  • Resolved an issue which, in some circumstances, prevented tests being written for methods which take Class objects with nested generics. [Ref: TG-21847]

  • Resolved an issue which, in some circumstances, caused tests written for Thread extension classes to be removed during verification. [Ref: TG-21584]

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]

Last updated