2024-09-02

This release introduces Descriptive Test Naming (beta), a new feature that enables Diffblue Cover to write tests with Given-When-Then-style names.

For details on how to enable Descriptive Test Naming (beta), please refer to the IntelliJ Plugin documentation or the Cover CLI documentation.

Enhancements

  • Cover now attempts to write tests using the yyyymmdd DateTime format. [Ref: TG-22011]

  • Cover now offers the ability to write tests with Given-When-Then-style names via Descriptive Test Naming (beta). Descriptive Test Naming (beta) can be enabled in the Diffblue IntelliJ Plugin Settings or by passing --descriptive-test-names to Cover CLI. [Ref: TG-21872]

  • Cover now supports full customization of build system commands. This allows Cover to write tests for projects with more complex build structures or requirements. Cover can be configured via a DiffblueBuild.yaml file. [Ref: TG-21551]

Resolved Issues

  • Plugin: Resolved an issue which, in some circumstances, caused test writing to be delayed during the preparation phase. [Ref: TG-21903]

  • Cover + Reports: Resolved an issue which, in some circumstances with mismatched versions, caused large quantities of log messages to appear in log files. [Ref: TG-21752]

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