Skip to content

Commit e142ee0

Browse files
committed
doc: describe how to pass wildcard names to test runner
1 parent 6a7a70b commit e142ee0

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

test/README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,29 @@ You can run any combination (incl. duplicates) of tests by calling:
4949
test/functional/test_runner.py <testname1> <testname2> <testname3> ...
5050
```
5151

52+
Wildcard test names can be passed, if the paths are coherent and the test runner
53+
is called from a `bash` shell or similar that does the globbing. For example,
54+
to run all the wallet tests:
55+
56+
```
57+
test/functional/test_runner.py test/functional/wallet*
58+
functional/test_runner.py functional/wallet* (called from the test/ directory)
59+
test_runner.py wallet* (called from the test/functional/ directory)
60+
```
61+
62+
but not
63+
64+
```
65+
test/functional/test_runner.py wallet*
66+
```
67+
68+
Combinations of wildcards can be passed:
69+
70+
```
71+
test/functional/test_runner.py ./test/functional/tool* test/functional/mempool*
72+
test_runner.py tool* mempool*
73+
```
74+
5275
Run the regression test suite with:
5376

5477
```

0 commit comments

Comments
 (0)