# Cover Pipeline for GitHub

Cover Pipeline for GitHub integrates the power of Diffblue Cover directly into your GitHub Actions workflow to autonomously write Java unit tests for your projects on pull requests.

* Automatically write a baseline unit test suite for your projects.
* Automatically write new unit tests for new code.
* Automatically update existing unit tests in your code.
* Automatically remove existing unit tests in your code when they’re no longer required.

<div align="left" data-full-width="false"><figure><img src="/files/6zrQTIxqnx5H6D04XZpL" alt=""><figcaption></figcaption></figure></div>


---

# 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-pipeline/cover-pipeline-for-github.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.
