2024-03-01

This release deprecates the --project option for Cover CLI (reports bundles uploads). Cover Reports 'Coverage Over Time' graphs have been enhanced, including providing coverage details for project groups. Additionally, Cover's Spring Reactive Controller test writing performance has been improved. See the full Release Notes below for details of all enhancements and resolved issues covered by this release.

Enhancements

  • CLI & Reports: The Cover CLI --project option has been deprecated. Project names for Cover Reports are now automatically calculated based on the project configuration. [Ref: TG-21010]

  • Cover: Improved performance of Spring Reactive Controller test writing. [Ref: TG-20911]

  • Reports: The Coverage Over Time graph in Cover Reports now provides a timeframe selector. [Ref: TG-20772]

  • CLI: Cover CLI now supports writing tests for an entire multi-module project, without the need to create tests for each module separately. [Ref: TG-20709]

  • Reports: Coverage Over Time graphs are now available for project groups from the Cover Reports Home page. [Ref: TG-20649]

  • Cover: Diffblue Cover now provides partial Spring tests if Cover fails to write a complete Spring test. [Ref: TG-19589]

  • Pipeline: Cover Pipeline now creates and updates .gitignore files within .diffblue directories so that git ignores the contents. [Ref: TG-12872]

Resolved Issues

  • Cover: Improvement for Cover upload command - Automatic detection of parent project name within modules [Ref: TG-21014]

  • Cover: Resolved an issue which caused Cover to attempt to mock inaccessible protected and package-private constructors or methods. [Ref: TG-20969]

  • Cover: Resolved an issue which under some circumstances caused Cover to encounter an internal error related to byte arrays. [Ref: TG-20968]

  • Cover: Resolved an issue which under some circumstances caused Cover to assign values to final fields in unit tests. [Ref: TG-19786]

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: Diffblue 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