> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt.

## Generate a wire test suite

testing, generators.yml

Set `generateWireTests: true` and generation emits an automated test suite alongside your CLI: one case per endpoint example, plus a harness that stands up an in-process mock server, drives the compiled binary against it, and asserts the CLI issued the expected request and rendered the mocked response. The suite runs under a plain `cargo test` — no Docker and no network — and the generated CI runs it on every build.

**`generators.yml`**

```yaml title="generators.yml"
config:
  generateWireTests: true
```

Read the docs