Module mithril_common::test_utils
source · Expand description
Test utilities
They contains:
- A Open Api Spec tester
- Some precomputed fake data and keys
- A builder of MithrilFixture to generate signers alongside a stake distribution
Modules§
- Tools to helps validate conformity to an OpenAPI specification
- Fake data builders for testing.
- Pre hex encoded StmTypes for testing.
- Define a HttpServer for test that can be configured using warp filters.
Structs§
- A fixture of Mithril data types.
- A builder of mithril types.
- A builder of temp directory for tests purpose.
Enums§
- Methods that can be used to generate the stake distribution.