[tests] README.md nit fixes
This commit is contained in:
parent
82b2712a66
commit
7250b4e563
1 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ don't have test cases for.
|
||||||
- `wallet` for tests for wallet features, eg `wallet_keypool.py`
|
- `wallet` for tests for wallet features, eg `wallet_keypool.py`
|
||||||
- use an underscore to separate words
|
- use an underscore to separate words
|
||||||
- exception: for tests for specific RPCs or command line options which don't include underscores, name the test after the exact RPC or argument name, eg `rpc_decodescript.py`, not `rpc_decode_script.py`
|
- exception: for tests for specific RPCs or command line options which don't include underscores, name the test after the exact RPC or argument name, eg `rpc_decodescript.py`, not `rpc_decode_script.py`
|
||||||
- Don't use the redundant work `test` in the name, eg `interface_zmq.py`, not `interface_zmq_test.py`
|
- Don't use the redundant word `test` in the name, eg `interface_zmq.py`, not `interface_zmq_test.py`
|
||||||
|
|
||||||
#### General test-writing advice
|
#### General test-writing advice
|
||||||
|
|
||||||
|
@ -87,7 +87,7 @@ start the networking thread. (Continue with the test logic in your existing
|
||||||
thread.)
|
thread.)
|
||||||
|
|
||||||
- Can be used to write tests where specific P2P protocol behavior is tested.
|
- Can be used to write tests where specific P2P protocol behavior is tested.
|
||||||
Examples tests are `p2p-accept-block.py`, `p2p-compactblocks.py`.
|
Examples tests are `p2p-acceptblock.py`, `p2p-compactblocks.py`.
|
||||||
|
|
||||||
#### Comptool
|
#### Comptool
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue