You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/integration/README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -186,12 +186,12 @@ In case you want to debug the utility script itself, there is the verbose mode f
186
186
### Step Schema
187
187
188
188
*`name` (`string`, required): The name of the step.
189
-
*`kind` (`"analyze"|"verify"|"compare"|"shell"`, required): The kind of the step. There are 4 kinds of steps:
189
+
*`kind` (`"analyze"|"verify"|"compare"|"shell"|"validate_schema`, required): The kind of the step. There are 5 kinds of steps:
190
190
*`"analyze"`: runs the `macaron analyze` command.
191
191
*`"verify"`: runs the `macaron verify-policy` command.
192
192
*`"compare"`: compares an output file with an expected output file.
193
193
*`"shell"`: runs an arbitrary shell command.
194
-
*`"schema"`: validates an output file with a schema.
194
+
*`"validate_schema"`: validates an output file with a schema.
195
195
*`options`: Configuration options for the step. These options are specific to the step kind. See their schema below.
196
196
*`env` (`dict[string, string | null]`, optional): Key value pairs of environment variables being modified during the step after inheriting the environment in which the utility is executed within. Each value can be a string if you want to set a value to the environment variable, or null if you want to "unset" the variable.
197
197
*`expect_fail` (`bool`, optional, default is `false`): If `true`, assert that the step must exit with non-zero code. This should be used for cases where we expect a command to fail.
@@ -219,7 +219,7 @@ In case you want to debug the utility script itself, there is the verbose mode f
219
219
*`result` (`string`, required): The output file (a relative path from test case directory).
220
220
*`expected` (`string`, required): The expected output file (a relative path from test case directory).
221
221
222
-
### Schema step options Schema
222
+
### Vallidate Schema step options Schema
223
223
224
224
*`kind` (`"json_schema"`, required): The kind of schema validation to perform. For now, only json-schema is supported.
225
225
*`result` (`string`, required): The output file (a relative path from test case directory).
0 commit comments