2023-08-01

This release adds support for Lombok’s @Builder annotation and enhances Diffblue Cover licensing via proxy servers to support corporate proxies using intermediate intercept. See the full Release Notes below for details of all enhancements and resolved issues covered by this release.

Enhancements

  • Cover: Diffblue Cover now provides more detailed output codes and enhanced remediation advice when the analysis service fails to start. E020 Failed to start up analysis service output code now deprecated. [Ref: TG-19700]

  • Plugin: Cover Plugin now has improved support for licensing via proxy servers. [Ref: TG-19676]

  • Cover: Diffblue Cover now supports Spring Boot tests with @MockBean on the TestNG framework. [Ref: TG-19619]

  • Cover: Diffblue Cover now provides improved coverage when using TestNG with JDBC repositories. [Ref: TG-19607]

  • Cover: Diffblue Cover now supports Lombok's @Builder annotation. [Ref: TG-19398]

  • CLI: Cover CLI now shows the total number of lines of source code, and the number of lines of code covered by "manually written" tests during preflight checks for Maven projects. [Ref: TG-18659]

Resolved Issues

  • Cover: Resolved an issue where Diffblue Cover could not write tests because it encountered an infinite loop in the method under test. [Ref: TG-19702]

  • Cover: Resolved an issue which caused Diffblue Cover to suggest incompatible JUnit dependencies. [Ref: TG-19659]

  • Plugin: Resolved an issue where tests in Gradle multi-module projects could be written into the wrong module. [Ref: TG-19606]

  • Cover: Resolved an issue where tests were always written in UTF-8 and not the project's configured character encoding. [Ref: TG-19556]

  • CLI & Reports: Resolved an issue which caused Cover CLI to report an internal server error when uploading a reports bundle created using a JaCoCo Plugin version older than 0.8.2. Cover now requires 0.8.2 or above when creating reports bundles. [Ref: TG-19546]

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