2023-08-02

This release adds a new “strict” option (forces the strict definition of all project environment options set by you) and also adds support for Spring Core 6.0.11 and Spring Boot 3.1.2, as well as support for TestNG on Spring 5 projects. See the full Release Notes below for details of all enhancements and resolved issues covered by this release.

Enhancements

  • Cover: Resolved an issue which caused Diffblue Cover to fail under a Turkish locale. [Ref: TG-19865]

  • Reports: General UI layout of the Coverage Details page has been improved. [Ref: TG-19811]

  • Cover: Diffblue Cover now supports Spring Core 6.0.11 and Spring Boot 3.1.2. [Ref: TG-19777]

  • CLI: A new --strict option has been added to Cover CLI (dcover create --strict). This forces the strict definition of all project environment options set by you - Cover will not attempt to make an automated selection. [Ref: TG-19769]

  • Cover: Diffblue Cover will now automatically select a test framework if more than one are defined in your project (unless --testing-framework or --strict are used). [Ref: TG-19490]

  • Cover: Diffblue Cover now supports TestNG on Spring 5 projects. [Ref: TG-19473]

Resolved Issues

  • Plugin: Resolved an issue which caused Cover Plugin to reset the Sandboxing setting to "Enabled" after restarting IntelliJ. [Ref: TG-19880]

  • Reports: Improved the reliability of uploading reports. [Ref: TG-19864]

  • Cover: Resolved an issue which caused Cover to report F009 while creating objects that have public non-static non-final fields. [Ref: TG-19827]

  • Reports: Resolved an issue which in some circumstances caused Cover Reports to display an incorrect Latest Run. [Ref: TG-19824]

  • Cover: Resolved an issue which in some circumstances caused Cover to report an R008 (Failed to instantiate class under test) output code instead of R081 (Exception in arrange section). [Ref: TG-19815]

  • Cover: Resolved an issue where Cover was not writing assertions for Duration standard library class objects. [Ref: TG-19752]

  • CLI: Resolved an issue that caused preflight checks to recommend unsuitable dependencies for JUnit, Mockito, and Spring Boot test. [Ref: TG-19669]

Known Issues

  • 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 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]

Last updated