# Customizing SDK Tests
Source: https://speakeasy.com/docs/sdks/sdk-contract-testing/customizing-sdk-tests

import { Callout } from "@/mdx/components";



## Test Generation Overview

When `generateNewTests` is enabled in the [`.speakeasy/gen.yaml`](/docs/speakeasy-reference/generation/gen-yaml) file, workflows for any newly discovered operations will automatically be created in the `.speakeasy/tests.arazzo.yaml` file during the next generation. Tests will then be generated based on these workflows.

Note that for tests to actually be generated during [`speakeasy run`](/docs/speakeasy-reference/cli/run), the `generateTests` setting must also be enabled. Both settings can be enabled by running [`speakeasy configure tests`](/docs/sdk-testing/bootstrapping-test-generation#enabling-test-generation).

## Disable auto generation of tests for specific operations

To disable auto generation of tests for specific operations, the `x-speakeasy-test` extension can be added to the operation in the OpenAPI document:

```yaml
openapi: 3.1.0