Package

org.bitcoins.testkit.chain

fixture

Permalink

package fixture

Visibility
  1. Public
  2. All

Type Members

  1. case class BitcoindChainHandlerViaRpc(bitcoindRpc: BitcoindRpcClient, chainHandler: ChainHandler) extends Product with Serializable

    Permalink

    Represents a bitcoind instance paired with a chain handler via rpc

  2. case class BitcoindChainHandlerViaZmq(bitcoindRpc: BitcoindRpcClient, chainHandler: ChainHandler, zmqSubscriber: ZMQSubscriber) extends Product with Serializable

    Permalink

    Represents a bitcoind instance paired with a chain handler via zmq

  3. case class BitcoindV19ChainHandler(bitcoind: BitcoindV19RpcClient, chainHandler: ChainHandler) extends Product with Serializable

    Permalink

    Useful for neutrino RPCs from bitcoind

  4. sealed trait ChainFixture extends AnyRef

    Permalink

    This ADT represents all Chain test fixtures.

    This ADT represents all Chain test fixtures. If you set this type to be your FixtureParam and override withFixture to be withChainFixutre, then simply tag tests to specify which fixture that test should receive and then use inFixutred which takes a PartialFunction[ChainFixture, Future[Assertion] ] (i.e. just specify the relevant case for your expected fixture)

  5. trait ChainFixtureHelper extends AnyRef

    Permalink
  6. sealed abstract class ChainFixtureTag extends Tag

    Permalink

    If a test file uses ChainFixture as its FixtureParam, then using these tags will determine which fixture the test will get.

    If a test file uses ChainFixture as its FixtureParam, then using these tags will determine which fixture the test will get.

    Simply add taggedAs FixtureTag._ to your test before calling inFixtured.

Ungrouped