github.com/palcoin-project/palcd@v1.0.0/integration/rpctest/doc.go (about)

     1  // Package rpctest provides a btcd-specific RPC testing harness crafting and
     2  // executing integration tests by driving a `btcd` instance via the `RPC`
     3  // interface. Each instance of an active harness comes equipped with a simple
     4  // in-memory HD wallet capable of properly syncing to the generated chain,
     5  // creating new addresses, and crafting fully signed transactions paying to an
     6  // arbitrary set of outputs.
     7  //
     8  // This package was designed specifically to act as an RPC testing harness for
     9  // `btcd`. However, the constructs presented are general enough to be adapted to
    10  // any project wishing to programmatically drive a `btcd` instance of its
    11  // systems/integration tests.
    12  package rpctest