2024-08-01

This release enhances the quality of assertions in unit tests written by Cover, improving both readability and overall test quality. It also introduces plugin support for IntelliJ IDEA 2024.2. Full details of these updates can be found in the release notes below.

Important Notices

Deprecations

  • IntelliJ IDEA 2023.3: With the introduction of support for IntelliJ IDEA 2024.2, support for IntelliJ IDEA 2023.3 will be removed in the next release.

Enhancements

  • Plugin: Cover now supports IntelliJ IDEA Community Edition 2024.2 and IntelliJ IDEA Ultimate 2024.2. [Ref: TG-21658]

  • Cover now writes more tests in situations where Spring contexts get dirtied. [Ref: TG-21587]

  • Cover now writes tests which do not redundantly assert on toString() when already asserting on .pattern(). [Ref: TG-20806]

  • Cover now writes tests with improved assertions by using toByteArray when writing tests for methods which use ByteArrayOutputStream. [Ref: TG-20805]

Resolved Issues

  • Plugin: Resolved an issue which caused Cover to not invalidate the environment check cache after changing the JDK at the module or project level. [Ref: TG-21670]

Known Issues

  • Plugin: Cover incorrectly provides a menu option to write tests for a test file. [Ref: TG-17163]

  • CLI & Plugin: Cover may write tests for JUnit 4.10 and lower that do not compile due to the use of assertNotEquals. [Ref: TG-17605]

  • 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