@@ -45,6 +45,17 @@ generation:
45
45
When enabling for the first time this will generate tests for all operations in the OpenAPI document.
46
46
Then going forward it will only generate tests for any operations not already found in the ` .speakeasy/tests.arazzo.yaml` file.
47
47
48
+ # # Disabling test generation
49
+
50
+ To completely disable test generation, delete the `.speakeasy/tests.arazzo.yaml` file from your repository :
51
+
52
+ ` ` ` bash
53
+ rm .speakeasy/tests.arazzo.yaml
54
+ ` ` `
55
+
56
+ The existence of this file is what triggers test generation. Once removed, no tests will be generated regardless of your configuration.
57
+
58
+ # ## Disable test generation for specific operations
48
59
49
60
After enabling test generation, to disable generation of tests for a specific operation, explicitly set `x-speakeasy-test : false`:
50
61
@@ -70,11 +81,11 @@ Generated test files are written in language-specific locations, relative to the
70
81
{ language: "Go", location: "`tests/`" },
71
82
{ language: "Python", location: "`tests/`" },
72
83
{ language: "TypeScript", location: "`src/__tests__`" },
73
- { language: "Java", location: "`src/test/java`" }
84
+ { language: "Java", location: "`src/test/java`" },
74
85
]}
75
86
columns={[
76
87
{ key: "language", header: "Language" },
77
- { key: "location", header: "Location" }
88
+ { key: "location", header: "Location" },
78
89
]}
79
90
/>
80
91
0 commit comments