2023-12-01

This release includes a number of enhancements to Diffblue Cover’s test writing capabilities, plus updates to Cover Reports dashboards and Cover Plugin actions and settings. See the full Release Notes below for details of all enhancements and resolved issues covered by this release.

Enhancements

  • CLI: Cover CLI now allows a full license quota to be consumed in a single run. [Ref: TG-20476]

  • Cover: General Diffblue Cover test verification improvements which may yield some additional tests for your projects. [Ref: TG-20440]

  • Plugin: Cover Plugin now allows you to specify a test directory location in settings. [Ref: TG-20365]

  • Reports: Items with zero coverage are now hidden by default in the Coverage Over Time graph. [Ref: TG-20355]

  • Reports: Cover Reports now provides the Coverage Over Time graph as a stacked area graph. [Ref: TG-20351]

  • Plugin: Test methods can now be deleted in Cover Plugin using the new Delete gutter icon. [Ref: TG-20288]

  • CLI: Cover CLI now iterates across all modules of a multi-module project on Create, Clean, and Validate commands. [Ref: TG-20101]

  • Cover: Diffblue Cover is now able to automatically call the Java Spring Formatter when writing tests for Gradle. [Ref: TG-13002]

Resolved Issues

  • Cover: Resolved an issue which caused Diffblue Cover to not write tests for projects which were incorrectly identified as Android projects. [Ref: TG-20491]

  • CLI: Resolved an issue which caused Cover CLI to return a non-zero exit code when encountering E032 during test validation. [Ref: TG-20360]

  • Cover: Diffblue Cover now places assertions about the size of collections and maps, before assertions that check content. [Ref: TG-20258]

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]

Last updated