@@ -6,25 +6,37 @@ Git subtree of [https://github.com/jgarzik/python-bitcoinrpc](https://github.com
6
6
Changes to python-bitcoinrpc should be made upstream, and then
7
7
pulled here using git subtree.
8
8
9
- ### [ test_framework.py] ( test_framework.py )
9
+ ### [ test_framework/test_framework .py] ( test_framework/ test_framework.py)
10
10
Base class for new regression tests.
11
11
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 )
16
13
Generally useful functions.
17
14
18
15
Bash-based tests, to be ported to Python:
19
16
-----------------------------------------
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
23
17
- conflictedbalance.sh : More testing of malleable transaction handling
24
18
25
19
Notes
26
20
=====
27
21
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
+
28
40
A 200-block -regtest blockchain and wallets for four nodes
29
41
is created the first time a regression test is run and
30
42
is stored in the cache/ directory. Each node has 25 mature
0 commit comments