provwasm-mocks
This crate provides mocks that enable unit testing of CosmWasm smart contracts that interact with custom modules in the Provenance Blockchain.
License
This crate is part of the provwasm repository, licensed under the Apache License 2.0 (see the LICENSE).
Example Usage
// Example unit test:
// Uses provwasm mocks to test a resolve query against the provenance name module.
// ref: contracts/name/src/msg.rs
// ref: contracts/name/src/contract.rs
use mock_env;
use from_binary;
use mock_dependencies;
use Name;