@@ -70,6 +70,13 @@ type FTWTestMeta struct {
70
70
// - name: Version
71
71
// value: "\"v1\""
72
72
Version string `yaml:"version,omitempty"`
73
+
74
+ // description: |
75
+ // Tags is list of strings that can be used for arbitrary grouping of tests.
76
+ // examples:
77
+ // - name: Tags
78
+ // value: ["PHP", "bug-123"]
79
+ Tags []string `yaml:"tags,omitempty"`
73
80
}
74
81
75
82
// Test is an individual test case. One test can have multiple stages.
@@ -111,6 +118,13 @@ type Test struct {
111
118
// examples:
112
119
// - value: ExampleStages
113
120
Stages []Stage `yaml:"stages"`
121
+
122
+ // description: |
123
+ // Tags is list of strings that can be used for arbitrary grouping of tests.
124
+ // examples:
125
+ // - name: Tags
126
+ // value: ["PHP", "bug-123"]
127
+ Tags []string `yaml:"tags,omitempty"`
114
128
}
115
129
116
130
// IdString prints the human readable ID of a test in the format
@@ -279,6 +293,16 @@ type Input struct {
279
293
//
280
294
// Deprecated: use `encoded_request`
281
295
RAWRequest string `yaml:"raw_request,omitempty" koanf:"raw_request,omitempty"`
296
+
297
+ // description: |
298
+ // Isolated specifies that the test is expected to trigger a single rule only.
299
+ // If the rule triggers any other rule than the (single) one specified in
300
+ // expect_ids, the test fill be considered a failure.
301
+ // Default: false
302
+ // examples:
303
+ // - name: Isolated
304
+ // value: true
305
+ Isolated bool `yaml:"isolated,omitempty" koanf:"isolated, omitempty"`
282
306
}
283
307
284
308
// Output is the response expected from the test
0 commit comments