Skip to content

Commit 00706a5

Browse files
committed
update rpc-tests readme.md
1 parent 344e08e commit 00706a5

File tree

1 file changed

+20
-8
lines changed

1 file changed

+20
-8
lines changed

qa/rpc-tests/README.md

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,37 @@ Git subtree of [https://github.com/jgarzik/python-bitcoinrpc](https://github.com
66
Changes to python-bitcoinrpc should be made upstream, and then
77
pulled here using git subtree.
88

9-
### [test_framework.py](test_framework.py)
9+
### [test_framework/test_framework.py](test_framework/test_framework.py)
1010
Base class for new regression tests.
1111

12-
### [listtransactions.py](listtransactions.py)
13-
Tests for the listtransactions RPC call.
14-
15-
### [util.py](util.py)
12+
### [test_framework/util.py](test_framework/util.py)
1613
Generally useful functions.
1714

1815
Bash-based tests, to be ported to Python:
1916
-----------------------------------------
20-
- wallet.sh : Exercise wallet send/receive code.
21-
- walletbackup.sh : Exercise wallet backup / dump / import
22-
- txnmall.sh : Test proper accounting of malleable transactions
2317
- conflictedbalance.sh : More testing of malleable transaction handling
2418

2519
Notes
2620
=====
2721

22+
You can run a single test by calling `qa/pull-tester/rpc-tests.sh <testname>`.
23+
24+
Run all possible tests with `qa/pull-tester/rpc-tests.sh -extended`.
25+
26+
Possible options:
27+
28+
````
29+
-h, --help show this help message and exit
30+
--nocleanup Leave bitcoinds and test.* datadir on exit or error
31+
--noshutdown Don't stop bitcoinds after the test execution
32+
--srcdir=SRCDIR Source directory containing bitcoind/bitcoin-cli (default:
33+
../../src)
34+
--tmpdir=TMPDIR Root directory for datadirs
35+
--tracerpc Print out all RPC calls as they are made
36+
```
37+
38+
If you set the environment variable `PYTHON_DEBUG=1` you will get some debug output (example: `PYTHON_DEBUG=1 qa/pull-tester/rpc-tests.sh wallet`).
39+
2840
A 200-block -regtest blockchain and wallets for four nodes
2941
is created the first time a regression test is run and
3042
is stored in the cache/ directory. Each node has 25 mature

0 commit comments

Comments
 (0)