# 2024-06-01

This release includes enhancements and fixes across Cover CLI, Plugin, and Reports. The Plugin now offers better performance through cached environment checks. Cover Reports has clearer breadcrumb navigation, making project identification easier. Full details of these updates can be found in the release notes.

**Please note that support for JUnit 4.7 through 4.10 is being deprecated and will be removed in a future release.**

## Enhancements

* Cover now supports Mockito 5.11.0. \[Ref: TG-21501]
* Reports: Breadcrumbs are no longer truncated, making it clearer to identify the current project. \[Ref: TG-21280]
* Plugin: Cover now caches environment checks to improve test writing performance. \[Ref: TG-21234]

## Resolved Issues

* Plugin: Resolved an issue where using 'Restart' in the Diffblue tool panel after adding a dependency with 'Fix Issues' at the package level would cause it to hang on the 'Preparing' phase. \[Ref: TG-21382]
* Resolved an issue which, in some circumstances, caused Cover to report an `F009` (Internal Error) while writing tests for methods with functional arguments. \[Ref: TG-21335]
* Resolved an issue which, in some circumstances, caused Cover to write non-compiling tests for methods with multiple functional arguments. \[Ref: TG-21334]
* CLI: Resolved an issue which caused Cover to report `Unexpected licensing exception` when activating with an invalid offline license activation file. \[Ref: TG-21329]
* CLI: Resolved an issue which caused Cover to report `L024: Unexpected licensing exception` when attempting to activate a license with a activation start date in the future. \[Ref: TG-20957]

## 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 a version of Mockito earlier than 5. \[Ref: TG-19610]
* Under some circumstances, when writing Java tests for Kotlin code, Cover may produce non-compiling tests. \[Ref: TG-20759]


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cover-docs-preview.diffblue.com/updates-and-upgrades/release-archive/2024-06-01.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
