|
10 | 10 | { |
11 | 11 | "type": "regex_match", |
12 | 12 | "pattern": "PROJECT-REVIEW\\(1\\)", |
13 | | - "name": "Man page header present" |
| 13 | + "name": "Man page header present", |
| 14 | + "file": "help-output.txt" |
14 | 15 | }, |
15 | 16 | { |
16 | 17 | "type": "regex_match", |
17 | 18 | "pattern": "--discovery-only", |
18 | | - "name": "Documents --discovery-only flag" |
| 19 | + "name": "Documents --discovery-only flag", |
| 20 | + "file": "help-output.txt" |
19 | 21 | }, |
20 | 22 | { |
21 | 23 | "type": "regex_match", |
22 | 24 | "pattern": "--focus=<domain", |
23 | | - "name": "Documents --focus flag" |
| 25 | + "name": "Documents --focus flag", |
| 26 | + "file": "help-output.txt" |
24 | 27 | }, |
25 | 28 | { |
26 | 29 | "type": "regex_match", |
27 | 30 | "pattern": "--min-score=N", |
28 | | - "name": "Documents --min-score flag" |
| 31 | + "name": "Documents --min-score flag", |
| 32 | + "file": "help-output.txt" |
29 | 33 | }, |
30 | 34 | { |
31 | 35 | "type": "regex_match", |
32 | 36 | "pattern": "SEE ALSO", |
33 | | - "name": "Contains SEE ALSO section" |
| 37 | + "name": "Contains SEE ALSO section", |
| 38 | + "file": "help-output.txt" |
34 | 39 | }, |
35 | 40 | { |
36 | 41 | "type": "regex_match", |
37 | 42 | "pattern": "EXAMPLES", |
38 | | - "name": "Contains EXAMPLES section" |
| 43 | + "name": "Contains EXAMPLES section", |
| 44 | + "file": "help-output.txt" |
39 | 45 | }, |
40 | 46 | { |
41 | 47 | "type": "regex_match", |
42 | 48 | "pattern": "SYNOPSIS", |
43 | | - "name": "Contains SYNOPSIS section" |
| 49 | + "name": "Contains SYNOPSIS section", |
| 50 | + "file": "help-output.txt" |
44 | 51 | }, |
45 | 52 | { |
46 | 53 | "type": "regex_match", |
47 | 54 | "pattern": "/project-audit", |
48 | | - "name": "SEE ALSO references project-audit" |
| 55 | + "name": "SEE ALSO references project-audit", |
| 56 | + "file": "help-output.txt" |
49 | 57 | } |
50 | 58 | ], |
51 | 59 | "expectations": [ |
|
65 | 73 | { |
66 | 74 | "type": "regex_match", |
67 | 75 | "pattern": "source_file_count", |
68 | | - "name": "Manifest contains source_file_count" |
| 76 | + "name": "Manifest contains source_file_count", |
| 77 | + "file": "manifest.json" |
69 | 78 | }, |
70 | 79 | { |
71 | 80 | "type": "regex_match", |
72 | 81 | "pattern": "languages", |
73 | | - "name": "Manifest contains languages field" |
| 82 | + "name": "Manifest contains languages field", |
| 83 | + "file": "manifest.json" |
74 | 84 | }, |
75 | 85 | { |
76 | 86 | "type": "regex_match", |
77 | 87 | "pattern": "has_tests", |
78 | | - "name": "Manifest contains has_tests field" |
| 88 | + "name": "Manifest contains has_tests field", |
| 89 | + "file": "manifest.json" |
79 | 90 | }, |
80 | 91 | { |
81 | 92 | "type": "regex_match", |
82 | 93 | "pattern": "has_ci", |
83 | | - "name": "Manifest contains has_ci field" |
| 94 | + "name": "Manifest contains has_ci field", |
| 95 | + "file": "manifest.json" |
84 | 96 | }, |
85 | 97 | { |
86 | 98 | "type": "regex_match", |
87 | 99 | "pattern": "has_docs", |
88 | | - "name": "Manifest contains has_docs field" |
| 100 | + "name": "Manifest contains has_docs field", |
| 101 | + "file": "manifest.json" |
89 | 102 | }, |
90 | 103 | { |
91 | 104 | "type": "regex_match", |
92 | 105 | "pattern": "modules", |
93 | | - "name": "Manifest contains modules field" |
| 106 | + "name": "Manifest contains modules field", |
| 107 | + "file": "manifest.json" |
94 | 108 | }, |
95 | 109 | { |
96 | 110 | "type": "regex_match", |
97 | 111 | "pattern": "build_tool", |
98 | | - "name": "Manifest contains build_tool field" |
| 112 | + "name": "Manifest contains build_tool field", |
| 113 | + "file": "manifest.json" |
99 | 114 | } |
100 | 115 | ], |
101 | 116 | "expectations": [ |
|
116 | 131 | { |
117 | 132 | "type": "regex_match", |
118 | 133 | "pattern": "(?i)security", |
119 | | - "name": "Security domain present in output" |
| 134 | + "name": "Security domain present in output", |
| 135 | + "file": "focus-output.txt" |
120 | 136 | }, |
121 | 137 | { |
122 | 138 | "type": "regex_match", |
123 | 139 | "pattern": "(?i)architecture", |
124 | | - "name": "Architecture domain present in output" |
| 140 | + "name": "Architecture domain present in output", |
| 141 | + "file": "focus-output.txt" |
125 | 142 | }, |
126 | 143 | { |
127 | 144 | "type": "regex_match", |
128 | 145 | "pattern": "(?i)(not assessed|excluded|not reviewed)", |
129 | | - "name": "Non-focused domains marked as excluded" |
| 146 | + "name": "Non-focused domains marked as excluded", |
| 147 | + "file": "focus-output.txt" |
130 | 148 | }, |
131 | 149 | { |
132 | 150 | "type": "regex_match", |
133 | 151 | "pattern": "(?i)composite score", |
134 | | - "name": "Report contains composite score" |
| 152 | + "name": "Report contains composite score", |
| 153 | + "file": "focus-output.txt" |
135 | 154 | } |
136 | 155 | ], |
137 | 156 | "expectations": [ |
|
152 | 171 | { |
153 | 172 | "type": "regex_match", |
154 | 173 | "pattern": "(?i)invalid", |
155 | | - "name": "Error mentions invalid domain" |
| 174 | + "name": "Error mentions invalid domain", |
| 175 | + "file": "error-output.txt" |
156 | 176 | }, |
157 | 177 | { |
158 | 178 | "type": "regex_match", |
159 | 179 | "pattern": "simplicity.*security.*data.*architecture.*documentation.*sdlc", |
160 | | - "name": "Lists all valid domain names" |
| 180 | + "name": "Lists all valid domain names", |
| 181 | + "file": "error-output.txt" |
161 | 182 | } |
162 | 183 | ], |
163 | 184 | "expectations": [ |
|
176 | 197 | { |
177 | 198 | "type": "regex_match", |
178 | 199 | "pattern": "Composite Score.*\\d+\\.\\d+.*\\/.*10", |
179 | | - "name": "Report contains composite score out of 10" |
| 200 | + "name": "Report contains composite score out of 10", |
| 201 | + "file": "minscore-output.txt" |
180 | 202 | }, |
181 | 203 | { |
182 | 204 | "type": "regex_match", |
183 | 205 | "pattern": "(?i)(simplicity|security|data|architecture|documentation|sdlc).*\\d+\\/10", |
184 | | - "name": "At least one domain score in X/10 format" |
| 206 | + "name": "At least one domain score in X/10 format", |
| 207 | + "file": "minscore-output.txt" |
185 | 208 | }, |
186 | 209 | { |
187 | 210 | "type": "regex_match", |
188 | 211 | "pattern": "(?i)# Project Quality Review", |
189 | | - "name": "Report has correct heading" |
| 212 | + "name": "Report has correct heading", |
| 213 | + "file": "minscore-output.txt" |
190 | 214 | }, |
191 | 215 | { |
192 | 216 | "type": "regex_match", |
193 | 217 | "pattern": "(?i)domain.*score.*rating", |
194 | | - "name": "Report contains domain score table headers" |
| 218 | + "name": "Report contains domain score table headers", |
| 219 | + "file": "minscore-output.txt" |
195 | 220 | } |
196 | 221 | ], |
197 | 222 | "expectations": [ |
|
212 | 237 | { |
213 | 238 | "type": "regex_match", |
214 | 239 | "pattern": "# Project Quality Review", |
215 | | - "name": "Report has correct top-level heading" |
| 240 | + "name": "Report has correct top-level heading", |
| 241 | + "file": "report-output.txt" |
216 | 242 | }, |
217 | 243 | { |
218 | 244 | "type": "regex_match", |
219 | 245 | "pattern": "(?i)composite score", |
220 | | - "name": "Report contains composite score" |
| 246 | + "name": "Report contains composite score", |
| 247 | + "file": "report-output.txt" |
221 | 248 | }, |
222 | 249 | { |
223 | 250 | "type": "regex_match", |
224 | 251 | "pattern": "(?i)top recommendations", |
225 | | - "name": "Report contains recommendations section" |
| 252 | + "name": "Report contains recommendations section", |
| 253 | + "file": "report-output.txt" |
226 | 254 | }, |
227 | 255 | { |
228 | 256 | "type": "regex_match", |
229 | 257 | "pattern": "(?i)methodology", |
230 | | - "name": "Report contains methodology section" |
| 258 | + "name": "Report contains methodology section", |
| 259 | + "file": "report-output.txt" |
231 | 260 | }, |
232 | 261 | { |
233 | 262 | "type": "regex_match", |
234 | 263 | "pattern": "(?i)simplicity.*\\d+", |
235 | | - "name": "Simplicity domain scored" |
| 264 | + "name": "Simplicity domain scored", |
| 265 | + "file": "report-output.txt" |
236 | 266 | }, |
237 | 267 | { |
238 | 268 | "type": "regex_match", |
239 | 269 | "pattern": "(?i)security.*\\d+", |
240 | | - "name": "Security domain scored" |
| 270 | + "name": "Security domain scored", |
| 271 | + "file": "report-output.txt" |
241 | 272 | }, |
242 | 273 | { |
243 | 274 | "type": "regex_match", |
244 | 275 | "pattern": "(?i)(tiny|small|medium|large)", |
245 | | - "name": "Size tier mentioned in report" |
| 276 | + "name": "Size tier mentioned in report", |
| 277 | + "file": "report-output.txt" |
246 | 278 | } |
247 | 279 | ], |
248 | 280 | "expectations": [ |
|
263 | 295 | { |
264 | 296 | "type": "regex_match", |
265 | 297 | "pattern": "source_file_count", |
266 | | - "name": "Manifest contains source_file_count" |
| 298 | + "name": "Manifest contains source_file_count", |
| 299 | + "file": "combined-output.txt" |
267 | 300 | }, |
268 | 301 | { |
269 | 302 | "type": "regex_match", |
270 | 303 | "pattern": "(?i)(python|javascript|rust|go|java)", |
271 | | - "name": "Manifest identifies at least one language" |
| 304 | + "name": "Manifest identifies at least one language", |
| 305 | + "file": "combined-output.txt" |
272 | 306 | } |
273 | 307 | ], |
274 | 308 | "expectations": [ |
|
287 | 321 | { |
288 | 322 | "type": "regex_match", |
289 | 323 | "pattern": "(?i)(scope|path|crates/core|not found|does not exist|no such)", |
290 | | - "name": "Output references the scoped path or reports its absence" |
| 324 | + "name": "Output references the scoped path or reports its absence", |
| 325 | + "file": "scoped-output.txt" |
291 | 326 | } |
292 | 327 | ], |
293 | 328 | "expectations": [ |
|
0 commit comments