#cosmwasm-contracts #contract #response #mocking #testing #set #queries

mock-cosmwasm-contract

Mock CosmWasm contract that can set predetermined responses to queries and keep track of execution for testing purposes

3 releases

0.1.2 Feb 6, 2024
0.1.1 Feb 6, 2024
0.1.0 Jan 26, 2024

#50 in #cosmwasm-contracts

MIT/Apache

64KB
154 lines

Mock CosmWasm Contract

A mock CosmWasm contract for testing purposes.

This contract can set predetermined responses to queries. It is useful in multi-contract tests where you want to test the behavior of a contract that calls another contract.

Dependencies

~4–6MB
~124K SLoC