Crate multiversx_sc_scenario
source ·Re-exports§
pub use whitebox_legacy as testing_framework;
pub use api::DebugApi;
pub use crate::scenario::model as scenario_model;
pub use crate::scenario as mandos_system;
pub use multiversx_chain_vm;
pub use num_bigint;
pub use multiversx_sc;
pub use multiversx_sc_meta as meta;
pub use multiversx_chain_scenario_format as scenario_format;
Modules§
- Imports normally needed in integration tests, grouped together.
Macros§
Structs§
- Bundles a representation of a contract with the contract proxy, so that it can be easily called in the context of a blockchain mock.
- Verifies that transaction result error matches the given one.
- Verifies that transaction result message matches the given one.
- Verifies that transaction result status matches the given one.
- Verifies that transaction result matches the given value.
- Indicates that the error status will be returned.
- Indicates that the newly deployed address will be returned after a deploy.
- Indicates that the error status will be returned.
- Environment for executing transactions.
- The actual data required to run a scenario locally. This is the minimal environment needed to run txs.
- A facade for contracts tests.
- Wraps a contract that is supposed to be used in whitebox tests.
- Wraps a closure that handles a
TxResponse
object.
Traits§
- Designates a tx environment suitable for running scenarios locally.
- Provides a
run
method for transactions and steps.
Functions§
- mandos_goDeprecated
- mandos_rsDeprecated
- run_goDeprecatedLegacy function for running a scenario test using the Go VM tool.
- run_rsDeprecatedLegacy function for running a scenario test using the Go VM tool.
Type Aliases§
- BlockchainMockDeprecated