Changeset View
Changeset View
Standalone View
Standalone View
test/functional/README.md
Show First 20 Lines • Show All 53 Lines • ▼ Show 20 Lines | |||||
* Call ```NetworkThread.start()``` after all ```NodeConn``` objects are created to | * Call ```NetworkThread.start()``` after all ```NodeConn``` objects are created to | ||||
start the networking thread. (Continue with the test logic in your existing | start the networking thread. (Continue with the test logic in your existing | ||||
thread.) | thread.) | ||||
* RPC calls are available in p2p tests. | * RPC calls are available in p2p tests. | ||||
* Can be used to write free-form tests, where specific p2p-protocol behavior | * Can be used to write free-form tests, where specific p2p-protocol behavior | ||||
is tested. Examples: ```p2p-accept-block.py```, ```maxblocksinflight.py```. | is tested. Examples: ```p2p-accept-block.py```, ```p2p-compactblocks.py```. | ||||
## Comptool | ## Comptool | ||||
* Testing framework for writing tests that compare the block/tx acceptance | * Testing framework for writing tests that compare the block/tx acceptance | ||||
behavior of a bitcoind against 1 or more other bitcoind instances, or against | behavior of a bitcoind against 1 or more other bitcoind instances, or against | ||||
known outcomes, or both. | known outcomes, or both. | ||||
* Set the ```num_nodes``` variable (defined in ```ComparisonTestFramework```) to start up | * Set the ```num_nodes``` variable (defined in ```ComparisonTestFramework```) to start up | ||||
Show All 38 Lines |