# Cover Plugin settings

To modify the Diffblue Cover settings in IntelliJ, go to `Diffblue > Change Settings` and update as needed.

<figure><img src="/files/vh0YvbgIeqZ9c3rPHwOZ" alt=""><figcaption></figcaption></figure>

* **Test Framework**: Select the test framework used for your project - `JUnit 4`, `JUnit 5`, `TestNG`, or `Auto-Detect`.
* **Test Creation**:
  * Enable/disable the use of `Cover all enum values` (ensure all enum values are covered, when an enum is used as a method argument or return value) - see [Covering all enum values](/features/cover-plugin/writing-tests/covering-all-enum-values.md).
  * Enable/disable the use of `Ignore existing coverage` (default: off) - see [Test Coverage Optimizations](/features/cover-cli/writing-tests/test-coverage-optimizations.md)
* **Partial Test Creation**: Enable/disable the creation of partial tests for specific scenarios - see [Creating partial tests](/features/cover-plugin/writing-tests/partial-tests.md).
* **Test Review**: Enable manual review and editing of tests before they are added to your codebase - see [Test Review](/features/cover-plugin/writing-tests/test-review.md)
* **Test Naming**: Define the test class and test method naming conventions used for tests written by Diffblue Cover - see [Test Naming](/features/cover-plugin/cover-plugin-settings/test-naming.md).
* **Test Formatting**: Select the test style or specific formatting options for tests written by Diffblue Cover - see [Test Formatting](/features/cover-plugin/cover-plugin-settings/test-formatting.md).
* **Spring**: Set your Spring configuration options (mocking, Spring contexts, and active profiles) - see [Spring configuration options](/features/cover-plugin/cover-plugin-settings/spring-configuration-options.md).
* **Method Annotations**: Suppress compiler warnings for test methods written by Diffblue Cover - see [Method Annotations](/features/cover-plugin/cover-plugin-settings/method-annotations.md). This is especially useful when using SonarQube - see [Using SonarQube with Cover Plugin](/features/cover-plugin/cover-plugin-admin/using-sonarqube-with-cover-plugin.md).
* **Sandboxed Environment**: Enable (default) or disable the Diffblue Sandbox and/or define a list of allowed JNI libraries (if needed) - see [Diffblue Sandbox](/features/cover-plugin/writing-tests/diffblue-sandbox.md).

{% hint style="info" %}
In addition to these settings, the host environment can be configured in several ways which are described in [Environment Configuration](/features/cover-cli/environment-configuration.md)
{% endhint %}


---

# 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/features/cover-plugin/cover-plugin-settings.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.
