# 2022-03-01

## More plugin tests!

This release, we have updated the Diffblue Cover IntelliJ plugin to include partial tests by default, resulting in more tests written. We have switched on the option of writing tests for enum values by default, too.\
\
We have also added a summary panel so you can easily see how many complete and partial tests have been written:\
\
{: width="735" height="306"}\
As shown in this image, you can click on **Change Settings** if you should want to turn off either of these new default options.

## Suppressing SonarQube warnings

SonarQube is a tool to enforce coding practices to help developers write better code. Some of its rules have the purpose to detect common mistakes; others purely concern specific aspects of coding style. Some of the latter rules are a matter of taste and usually need to be tailored to the coding guidelines of a specific project. Using all rules may lead to lots of noisy warnings, and sometimes such warnings are triggered on tests created by Diffblue Cover.

This release, we have added the `--annotate-suppress-warnings` option, to reduce the warnings in the tests created by Diffblue Cover. Full details are in [our documentation](https://github.com/diffblue/website-docs/blob/develop/knowledge-base/cli/using-sonarqube-with-diffblue-cover/README.md).

## Developer Edition trial available

We are delighted to now offer a 14-day trial version of our Developer Edition, which includes the Diffblue Cover CLI, as part of our new licensing option. We're really excited that you can now "try before you buy"! To download your trial of Diffblue Cover Developer Edition, please [click here](https://www.diffblue.com/try-cover?cover_plan_selected=Developer). Full information on all our options is also available [here](https://diffblue.com/pricing).

## How do I automatically maintain all of these tests?

![](https://info.diffblue.com/hubfs/PluginPopup/ci-workflow.gif)

Use Diffblue Cover on any CI platform to automatically update your unit tests and catch regressions for every commit - watch [this video](https://www.diffblue.com/video-demo/?utm_source=Plugin\&utm_medium=Whatsnew\&utm_campaign=WhatsNewBox) to learn more.

## Enhancements

* IntelliJ Plugin: Cover now writes partial tests by default. Partial test writing can be configured via the Cover plugin settings. \[Ref: TG-16578]
* IntelliJ Plugin: Cover now provides a summary of tests written in the Diffblue Tool Panel. \[Ref: TG-16577]
* CLI: Cover now adds `@SuppressWarning` annotations to tests it writes when the `--annotate-suppress-warnings` CLI option is used. \[Ref: TG-16611]
* Cover now uses xml configuration for testing spring classes even if the `spring-boot-test` dependency is not present. \[Ref: TG-16456]
* CLI: Cover's test validation now supports projects that use the (Maven or Gradle) `ignoreFailures` feature. \[Ref: TG-16104]

## Resolved Issues

* Resolved an issue which caused Cover to not detect calls to `System.currentTimeMillis()` in methods under test, in some circumstances, causing non-deterministic tests to be written. \[Ref: TG-16643]
* Test validation output has been improved in the case where some tests have been cleaned up and test validation still fails. \[Ref: TG-16633]
* Resolved an issue which, in some circumstances, caused Cover to not write tests for classes containing an `@Value` annotated field. \[Ref: TG-16613]
* CLI: Resolved an issue which caused Cover to report `Cleaning tests failed` rather than logging output code `E087: Multiple testing frameworks` when multiple test frameworks are available. \[Ref: TG-16585]
* CLI: Fixed incorrect descriptions for `--name` and `--project` options in Cover's man page and online help. \[Ref: TG-16573]
* CLI: Resolved an issue which caused Cover to not log the number of tests written per class to the log file while using `--verbose`. \[Ref: TG-15145]

## Known Issues

* CLI: The command `dcover clean --failing` does not work on Gradle projects. This command is now deprecated and `dcover validate` should be used instead. \[Ref: TG-11707]


---

# 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/2022-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.
