2024-11-01

This release reduces the number of overlapping tests written by Cover, improving readability, maintainability and overall test quality. Various CLI and Plugin issues have also been resolved. Full details of these updates can be found in the release notes below.

This release also introduces early access support for Developer Edition - see the pricing page for more details.

Enhancements

  • Cover now supports JUnit Jupiter 5.11.3. [Ref: TG-22200]

  • Cover no longer writes redundant tests which only differ by mocking. [Ref: TG-21634]

Resolved Issues

  • CLI: Resolved an issue which caused Cover to report Built when running dcover build even if the build failed. [Ref: TG-22202]

  • Resolved an issue which caused Cover to write tests, which require a Jackson ObjectMapper, using a new ObjectMapper() which has no optional modules configured. Cover now discovers existing instances or configures one with all available modules. [Ref: TG-22150]

  • CLI: Resolved an issue which, in some circumstances, caused Cover to report Unresolved compilation problem. [Ref: TG-22141]

  • Plugin: Resolved an issue which caused IntelliJ to report an error after clicking 'Accept All' in the test review panel while writing tests. [Ref: TG-21938]

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]

  • Reports: Cover only counts Java code towards the total line count metrics. Kotlin code is not currently included. [Ref: TG-22088]

  • Reports: Total lines of code metric can incorrectly count a multi-line comment at the end of a line of code, resulting in fewer than expected lines counted. [Ref: TG-22089]

  • Reports: Following an upgrade, the 'Total Lines of Code' card may show 0 until a new reports bundle has been uploaded. [Ref: TG-22094]

  • In some circumstances, Cover may write more simplistic tests with less meaningful assertions when Spring Boot dependency injection is disabled. [Ref: TG-22102]

  • In some circumstances, Cover will still write Spring Boot tests when Spring Boot dependency injection is disabled. [Ref: TG-22103]

  • Cover may write failing TestNG tests when Spring Boot dependency injection is disabled. [Ref: TG-22107]

Last updated