cuprate/test-utils
hinto-janai aeb070ae8d
Replace OnceLock + fn with LazyLock (#256)
* `consensus/`

* `helper/`

* `test-utils/`

* `storage/`

* fix docs + tests + lints

* decomposed_amount: remove `LazyLock`

* clippy
2024-08-20 22:53:32 +01:00
..
src Replace OnceLock + fn with LazyLock (#256) 2024-08-20 22:53:32 +01:00
Cargo.toml update monero-serai (#201) 2024-08-07 00:48:53 +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