Skip to main content

Module testing

Module testing 

Source
Available on crate features test-dependencies only.
Expand description

Test-support utilities exposed under the test-dependencies feature: an in-memory db::TestDbFactory / db::TestDb wallet for the zcash_client_backend testing framework, a BlockCache compact-block source, and the [highest_rooted_orchard_checkpoint] commitment-tree helper. Consumed by this crate’s own tests and, through the feature, by downstream crates’ tests.

Modules§

db
An in-memory WalletDb-backed data store and DataStoreFactory for the zcash_client_backend testing framework.

Structs§

BlockCache
An in-memory compact-block cache backed by a temporary BlockDb, implementing the zcash_client_backend testing framework’s TestCache.
BlockCacheInsertionResult
The result of inserting a compact block into a BlockCache: the block’s transaction ids and the note commitments it added.