scalus.testing.TxVariations
See theTxVariations companion object
Transaction variations generator for property-based and exhaustive testing.
TxVariations generates multiple transaction variations from a given contract state and base template. Each variation represents a different way to construct a transaction (e.g., different input selection, datum values, redeemer arguments).
The TxTemplate provides the sponsor (who pays fees) and signer, while variations build the transaction body.
Type parameters
- S
-
the contract state type, typically extracted from blockchain UTxOs
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait TxSamplingVariations[S]
Members list
In this article