# Cover Optimize

Cover Optimize speeds up the time required to run Java unit tests by running only the tests in your project that are relevant to your code change (defined in a patch file).

* [**Get Started**](/features/cover-optimize/get-started-cover-optimize.md): A general overview of Cover Optimize.
* [**Cover Optimize for Gradle**](/features/cover-optimize/get-started-cover-optimize-and-gradle.md): Configuration details for Gradle.
* [**Cover Optimize for Maven**](/features/cover-optimize/get-started-cover-optimize-and-maven.md): Configuration details for Maven.
* [**Patch Files**](/features/cover-optimize/patch-files.md): How to create a patch file for use with Cover Optimize.


---

# 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.diffblue.com/features/cover-optimize.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.
