2023-10-02

This release provides a simplified, Docker-free, Cover Reports installation, including a Windows installer. Diffblue Cover will now write assertions for tests in a more consistent and predictable order - this may lead to notable test code changes due to new assertion ordering. See the full Release Notes below for details of all enhancements and resolved issues covered by this release.

Enhancements

  • Reports: Cover Reports UI enhancement. Method coverage will now be displayed when only one class is selected (Coverage Details tab). [Ref: TG-19841]

  • Reports: Cover Reports can now be installed via the Windows Installer. [Ref: TG-19643]

  • Cover: Diffblue Cover now writes tests for methods that have Java Stream as input argument or as return value. [Ref: TG-19570]

  • Reports: Cover Reports can now be installed from a zip archive and removes the need for Docker. [Ref: TG-19465]

Resolved Issues

  • Plugin: Resolved an issue which caused Cover Plugin to continue writing skeleton tests after the Stop button was clicked. [Ref: TG-20149]

  • Cover: Resolved an issue which caused Diffblue Cover to report an F004 output code due to the presence of non-UTF-8 characters. [Ref: TG-20107]

  • Reports: Resolved an issue which slowed the initial Cover Reports bundle upload. [Ref: TG-20077]

  • Plugin: Resolved an issue which in some circumstances caused run configurations created by Cover Plugin to "hang" during the preparation phase. [Ref: TG-20061]

  • Reports: Cover Reports will now display a notification banner when no test data is available. [Ref: TG-20035]

  • Cover: Diffblue Cover now provides assertions in a more consistent, predictable order. First use on prior projects where Diffblue Cover was used might lead to notable test code changes due to new assertion ordering. [Ref: TG-19962]

  • Reports: Resolved an issue in Cover Reports where classes in newer runs could still be partially visible when switching to an older run. [Ref: TG-19959]

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]

  • Plugin: Cover Plugin may display tests links which do not work whilst writing tests. Links in existing tests continue to work. [Ref: TG-20050]

Last updated