package fixture
- Alphabetic
- Public
- Protected
Type Members
- case class BitcoindBaseVersionChainHandlerViaRpc(bitcoindRpc: BitcoindRpcClient, chainHandler: ChainHandler) extends BitcoindChainHandlerViaRpc with Product with Serializable
Represents a bitcoind instance paired with a chain handler via rpc This is useful for when the bitcoind version doesn't matter, you just need a generic BitcoindRpcClient
- sealed trait BitcoindChainHandlerViaRpc extends AnyRef
- case class BitcoindChainHandlerViaZmq(bitcoindRpc: BitcoindRpcClient, chainHandler: ChainHandler, zmqSubscriber: ZMQSubscriber) extends Product with Serializable
Represents a bitcoind instance paired with a chain handler via zmq
- sealed trait ChainFixture extends AnyRef
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)
- trait ChainFixtureHelper extends AnyRef
- sealed abstract class ChainFixtureTag extends Tag
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.
- trait ChainWithBitcoindNewestCachedUnitTest extends FixtureAsyncFlatSpec with ChainWithBitcoindUnitTest with CachedBitcoindNewest
- trait ChainWithBitcoindUnitTest extends FixtureAsyncFlatSpec with ChainDbUnitTest
Chain unit test that requires a cached bitcoind type to be injected
Value Members
- object BitcoindChainHandlerViaZmq extends Serializable
- object ChainFixture
- object ChainFixtureTag