Expand description
Test utilities for clementine-tx-sender.
Structs§
Functions§
- create_
regtest_ rpc - Creates a Bitcoin regtest node for testing, waits for it to start and returns an RPC client.
- create_
test_ environment - Creates a test environment with a unique database name and a regtest Bitcoin node specific to the test.
- get_
available_ port - Helper to get a dynamically assigned free port.
- get_
current_ test_ name - setup_
txsender_ test_ db - Sets up a test database with a unique name based on the current test thread name.