# 2025-03-01

This release of Cover focuses on improving test generation and plugin user experience:

* **Improved Enum Handling**: Cover now writes tests with better branch coverage when comparing enums by name.
* **Conflict Detection & Remediation**: Cover identifies and warns about potential conflicts between PowerMock and Mockito artefacts, offering remediation advice to ensure optimal test generation.
* **Enhanced Test Review**: The Test Review feature is enabled by default, allowing for manual acceptance of generated tests before integration into your codebase. Navigating tests for review is simplified with a list of method-under-test.
* **IntelliJ IDEA Support Expansion**: Cover now supports IntelliJ IDEA Community Edition 2025.1 EAP.

## Important Notices

### **CLI: Deprecation of Build System Customization Options**

As of the `2025.02.02` release, the following CLI options have been marked as **deprecated**:

* `--build-system-configuration`
* `--ignore-stylechecks`
* `--jacoco-command-diffblue`
* `--jacoco-command-manual`
* `--jacoco-xml-test-report`
* `--preflight-test-command`
* `--preflight-test-timeout`
* `--validation-timeout`
* `--validation-command`

Migrating to a `DiffblueBuild.yaml` file is recommended for build system integration. See the [configuration guide](https://docs.diffblue.com/features/cover-cli/project-configuration/configuring-cover-to-work-with-your-projects-build-system/) for more details.

## Enhancements

* Plugin: Cover now supports IntelliJ IDEA Community Edition 2025.1 and IntelliJ IDEA Ultimate 2025.1 EAP. \[Ref: TG-22574]
* Plugin: Cover now displays a list of test methods in the Test Review panel. This allows for easier navigation through tests requiring review, grouped by method-under-test. The list will not appear if descriptive test names are disabled. \[Ref: TG-22376]
* Reports: Tests tagged with `MaintainedByDiffblue`, in any test files, now count towards the 'Diffblue coverage' statistic shown in Cover Reports. \[Ref: TG-21447]
* Plugin: Cover's Test Review feature is now enabled by default. Tests must be accepted manually before appearing in your codebase. Test Review can be disabled via the plugin settings dialog. \[Ref: TG-21297]
* CLI & Plugin: Diffblue Cover now writes tests with improved branch coverage for code comparing enums by name. \[Ref: TG-20568]

## Resolved Issues

* Resolved an issue which caused Cover to recommend incorrect `cover-annotations` dependency scope: it now recommends `provided` (Maven) or `compileOnly` (Gradle). \[Ref: TG-22749]
* CLI & Plugin: Cover now provides a warning (`E154`) and remediation advice if PowerMock and Mockito artefacts conflict. Conflicting artefacts can cause Cover to write fewer tests. \[Ref: TG-21209]

## 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]
* 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]
* Plugin: On some displays, the Test Review subsection title "Tests for review" can be malformed. \[Ref: TG-22805]


---

# 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/2025-03-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.
