cuprate-hinto-janai/test-utils
2024-09-20 20:27:02 -04:00
..
src Merge branch 'main' into rpc-handler-json 2024-09-20 20:27:02 -04:00
Cargo.toml Blockchain: add alt-block handling (#260) 2024-09-19 16:55:28 +01:00
README.md test-utils: add crate::rpc::data module (#231) 2024-07-19 00:50:27 +01:00

Test Utils

This crate contains code that can be shared across multiple Cuprate crates tests, this crate should not be included in any Cuprate crate, only in tests.

It currently contains:

  • Code to spawn monerod instances and a testing network zone
  • Real raw and typed Monero data, e.g. Block, Transaction
  • An RPC client to generate types from cuprate_types
  • Raw RPC request/response strings and binary data