soroban_sdk

Module testutils

Source
Available on crate feature testutils only.
Expand description

Utilities intended for use when testing.

Re-exports§

pub use mock_auth::MockAuthContract;

Modules§

arbitrary
Support for fuzzing Soroban contracts with cargo-fuzz.
budget
cost_estimate
ed25519
storage

Structs§

AuthSnapshot
AuthorizedInvocation
Describes an authorized invocation tree from the perspective of a single address.
EnvTestConfig
Config for changing the default behavior of the Env when used in tests.
EventSnapshot
EventsSnapshot
Generators
LedgerInfo
MockAuth
MockAuthInvoke
Snapshot
StellarAssetContract
StellarAssetIssuer

Enums§

AuthorizedFunction
A single node in AuthorizedInvocation tree.
IssuerFlags
AccountFlags is an XDR Enum defines as:

Traits§

Address
BytesN
Test utilities for BytesN.
Deployer
Events
Test utilities for Events.
Ledger
Test utilities for Ledger.
Logs
Test utilities for Logs.
Register