2024-01-02

In this release, Diffblue Cover is now available as a project integration within GitLab (Cover Pipeline for GitLab) and Cover now provides support for Kotlin projects. Also, Telemetry configuration has been updated and Cover Plugin now provides test maintenance options to simplify updating or removing Diffblue tests. See the full Release Notes below for details of all enhancements and resolved issues covered by this release.

Enhancements

  • Pipeline: Diffblue Cover is now available as a project integration directly within GitLab (Cover Pipeline for GitLab) - see here. [Ref: TG-20676]

  • Cover: Diffblue Cover now provides improved test writing capabilities for methods which use anyMatch(). [Ref: TG-20646]

  • Plugin: Teams and Enterprise users can now easily raise a Diffblue support request via a button which has been added to the Cover Plugin Tool window. [Ref: TG-20626]

  • Cover: Telemetry is now enabled by default. It can be configured using environment variables and/or a telemetry.properties file on the client machine (where Diffblue Cover is being used). [Ref: TG-20596]

  • CLI & Reports: When generating or uploading reports bundles, if the --name argument is omitted, the name will now default to the latest commit hash when used within Git. [Ref: TG-20594]

  • Plugin: In Cover Plugin, you can now update existing tests for methods and classes from the test source files. Associated gutter icons and menu options have been added. [Ref: TG-20404]

  • Cover: Diffblue Cover can now write Java unit tests for Kotlin projects. [Ref: TG-19066]

Resolved Issues

  • Reduce Flaky F009 due to concurrent modification exception [Ref: TG-20446]

  • Refactor: Resolved an issue which in some circumstances caused Cover Refactor to not use its recommended dependency versions during refactoring. [Ref: TG-19896]

Known Issues

  • Plugin: Cover Plugin incorrectly gives the option to write tests for a test file using the menu option, while in the IDE editor. [Ref: TG-17163]

  • Cover: 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