cuprate-hinto-janai/test-utils
hinto-janai fe2366c5df
test-utils: return &'static verified superset types (#108)
* data: return `&'static` verified superset types

* docs

* fix VerifiedBlockMap, use manual input, add block 5da0a3d

* free: use macros to generate accessor functions

* constants: use macro

* docs

* `tx_data` -> `tx_blob`
2024-04-21 01:34:04 +01:00
..
src test-utils: return &'static verified superset types (#108) 2024-04-21 01:34:04 +01:00
Cargo.toml test-utils: return &'static verified superset types (#108) 2024-04-21 01:34:04 +01:00
README.md test-utils: return &'static verified superset types (#108) 2024-04-21 01:34:04 +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