input-output-hk / mithril

Stake-based threshold multi-signatures protocol
https://mithril.network
Apache License 2.0
116 stars 36 forks source link

Create a test Cardano transactions builder #1667

Closed jpraynaud closed 2 months ago

jpraynaud commented 2 months ago

Why

We need to have a simple and versatile way of creating test transactions which are used in our unit tests. We have already created multiple generators in the code that will be superseded by this builder. The builder will be tested which will allow better quality of tests.

What

Assess the existing generators and implement a builder that will fit all the existing needs and which can be easily extended with new needs.

How