File tree Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -301,18 +301,36 @@ the following code:
301
301
See :numref:`textui.examples.filter-patterns` for examples
302
302
of valid filter patterns.
303
303
304
- .. code-block:: php
304
+ .. code-block:: shell
305
305
:caption: Filter pattern examples
306
306
:name: textui.examples.filter-patterns
307
307
308
+ --filter ' TestNamespace\\ TestCaseClass::testMethod'
309
+ --filter ' TestNamespace\\ TestCaseClass'
310
+ --filter TestNamespace
311
+ --filter TestCaseClase
312
+ --filter testMethod
313
+ --filter ' /::testMethod .* " my named data" /'
314
+ --filter ' /::testMethod .* # 5$/'
315
+ --filter ' /::testMethod .*#(5|6|7)$/'
316
+
308
317
See :numref:` textui.examples.filter-shortcuts` for some
309
318
additional shortcuts that are available for matching data
310
319
providers.
311
320
312
- .. code-block:: php
321
+ .. code-block:: shell
313
322
:caption: Filter shortcuts
314
323
:name: textui.examples.filter-shortcuts
315
324
325
+ --filter ' testMethod#2'
326
+ --filter ' testMethod#2-4'
327
+ --filter ' #2'
328
+ --filter ' #2-4'
329
+ --filter ' testMethod@my named data'
330
+ --filter ' testMethod@my.*data'
331
+ --filter ' @my named data'
332
+ --filter ' @my.*data'
333
+
316
334
` ` --testsuite` `
317
335
318
336
Only runs the test suite whose name matches the given pattern.
You can’t perform that action at this time.
0 commit comments