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/regression/ba-issues/README.md
+38-3Lines changed: 38 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -218,22 +218,57 @@ simply run `run.py`
218
218
./run.py
219
219
```
220
220
221
+
Specify a specific issue with option `--issues`/`-i`
222
+
223
+
```shell
224
+
./run.py --issues 2833 # test 1 issue #2833
225
+
./run.py -i 2833,2834,2835 # test 3 issues #2833 #2834 #2835
226
+
```
227
+
221
228
If everything went well, you should see similarly output in your command line output
222
229
223
230
```shell
224
-
Finish testing, 22/22 of test cases passed, no more issues should further test
231
+
==== Test results ====
232
+
Total: 22
233
+
Passed: 22
234
+
Failed: 0
235
+
Left issues in folder: no more
236
+
Cases in JSON but not found in folder: no more
225
237
```
226
238
227
239
If you add the test case under directory `issues` but forget to add the running config in json file, the output can be something like
228
240
229
241
```shell
230
-
Finish testing, 21/21 of test cases passed, {2945} issue(s) should further test
242
+
==== Test results ====
243
+
Total: 21
244
+
Passed: 21
245
+
Failed: 0
246
+
missed: 0
247
+
Left issues in folder: #3022
248
+
Cases in JSON but not found in folder: no more
249
+
```
250
+
251
+
If you add the test case in `running_config.json` but used the wrong id or forget to add the test case under directory `issues`, the output can be someting like
252
+
253
+
```shell
254
+
==== Test results ====
255
+
Total: 21
256
+
Passed: 21
257
+
Failed: 0
258
+
missed: 0
259
+
Left issues in folder: #2855
260
+
Cases in JSON but not found in folder: #12345
231
261
```
232
262
233
263
If some test case are failing, then it will be something like
234
264
235
265
```shell
236
-
Finish testing, 21/22 of test cases passed, no more issue(s) should further test
266
+
==== Test results ====
267
+
Total: 22
268
+
Passed: 21
269
+
Failed: 1
270
+
Left issues in folder: no more
271
+
Cases in JSON but not found in folder: no more
237
272
```
238
273
239
274
And a log file named `issues_tests.log` will be generated and inside it will display the details of the failing cases, for example:
0 commit comments