> For the complete documentation index, see [llms.txt](https://cover-docs.diffblue.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cover-docs.diffblue.com/features/cover-plugin/cover-plugin-settings/test-formatting.md).

# Test Formatting

To configure the format of tests written by Cover Plugin, go to `Diffblue > Change Settings > Test Formatting` in IntelliJ.

## IntelliJ Code Style Formatting Compatibility

It's important to note that the formatting of tests produced by Cover Plugin for IntelliJ, especially regarding indentation and other style settings, is in line with your current IntelliJ Code Style configurations. This ensures that the generated tests adhere to the code style settings you've set up in your IDE. If you experience formatting conflicts with other tools, such as Spotless, you might need to align your IntelliJ code style settings with those tools to maintain consistency.

You are able to turn off IntelliJ Code Style formatting through the Diffblue settings menu "Apply code style formatting". With this setting turned off tests will be formatted in a way that will match the output of Cover CLI.

<figure><img src="/files/2jOOky0sbJPFUKqgh9Lw" alt=""><figcaption></figcaption></figure>
