# Cover Pipeline for GitLab

Cover Pipeline for GitLab integrates the power of Diffblue Cover directly into your GitLab pipeline to autonomously write Java unit tests for your projects on merge 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/8lggkJLERElF0WSVhgy7" 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-gitlab.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.
