Links

2023-12-02

In this release, Cover Plugin now supports IntelliJ IDEA 2023.3, and Cover Reports has received further UI enhancements. Also of note, Diffblue Cover will now, by default, name tests after the whole unit under test, not just the first method, which may result in test name changes for existing projects. See the full Release Notes below for details of all enhancements and resolved issues covered by this release.

Enhancements

  • Cover: By default, Diffblue Cover will now name tests after the whole unit under test, not just the first method. Test naming remains configurable in Cover CLI and Cover Plugin. Note that this update may result in test name changes for existing projects. [Ref: TG-20559]
  • Cover: Diffblue Cover now has an option to disable the use of Spring for dependency injection in tests (--no-spring-tests in Cover CLI, Spring options in Cover Plugin Settings in IntelliJ). [Ref: TG-20480]
  • Plugin: Cover Plugin now provides a new "Standard" option for Test Formatting in Settings. This aligns the settings with the options available within Cover CLI. [Ref: TG-20479]
  • Cover: Diffblue Cover now shows the active Spring profiles in the Environment Summary / Environment Checks and Cover CLI will no longer issue a warning when the default profile is active. [Ref: TG-20457]
  • CLI & Reports: Diffblue Cover now errors if the provided version of JaCoCo is not supported (<0.8.3) while using the coverage-reports option on Gradle projects. If this affects your projects, you may wish to regenerate your reports bundles. [Ref: TG-20444]
  • Reports: Cover Reports now allows individual runs and associated data to be deleted. [Ref: TG-20354]
  • Reports: Cover Reports now allows projects and associated data (runs) to be deleted. [Ref: TG-20353]
  • Reports: Cover Reports now includes additional output codes within Advisories on the Coverage Detail tab. [Ref: TG-20352]
  • Plugin: Cover Plugin now updates existing Diffblue tests if they already exist for the method. [Ref: TG-20289]
  • Cover: Diffblue Cover can now write WebFlux partial tests for reactive controllers. [Ref: TG-20269]
  • Plugin: Cover Plugin now supports IntelliJ IDEA Community Edition 2023.3 and IntelliJ IDEA Ultimate 2023.3. [Ref: TG-20135]

Resolved Issues

  • CLI: Resolved an issue which under certain circumstances would incorrectly report E115 - Incorrect JaCoCo coverage reported during environment checks. [Ref: TG-20497]
  • Cover: Resolved an issue which caused Diffblue Cover to report E022 (not able to discover the path to the JUnit Jupiter Launcher) when stdout is redirected. [Ref: TG-20395]
  • Cover: Resolved an issue which caused Diffblue Cover to incorrectly report a potential firewall issue when connecting with the Analyzer Service. [Ref: TG-20283]

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: Under some circumstances, when writing tests at a Class level, Cover will delete an existing getter test. [Ref: TG-20611]