github.com/btcsuite/btcd@v0.24.0/integration/rpctest/README.md (about)

     1  rpctest
     2  =======
     3  
     4  [![Build Status](https://github.com/btcsuite/btcd/workflows/Build%20and%20Test/badge.svg)](https://github.com/btcsuite/btcd/actions)
     5  [![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org)
     6  [![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](https://pkg.go.dev/github.com/btcsuite/btcd/integration/rpctest)
     7  
     8  Package rpctest provides a btcd-specific RPC testing harness crafting and
     9  executing integration tests by driving a `btcd` instance via the `RPC`
    10  interface. Each instance of an active harness comes equipped with a simple
    11  in-memory HD wallet capable of properly syncing to the generated chain,
    12  creating new addresses, and crafting fully signed transactions paying to an
    13  arbitrary set of outputs.
    14  
    15  This package was designed specifically to act as an RPC testing harness for
    16  `btcd`. However, the constructs presented are general enough to be adapted to
    17  any project wishing to programmatically drive a `btcd` instance of its
    18  systems/integration tests.
    19  
    20  ## Installation and Updating
    21  
    22  ```bash
    23  $ go get -u github.com/btcsuite/btcd/integration/rpctest
    24  ```
    25  
    26  ## License
    27  
    28  Package rpctest is licensed under the [copyfree](http://copyfree.org) ISC
    29  License.
    30