confio / tfi

Contracts for Regulated DeFi on the Tgrade blockchain
Apache License 2.0
9 stars 0 forks source link

Demo unit test querier #45

Closed ethanfrey closed 3 years ago

ethanfrey commented 3 years ago

This starts showing how to unit test code with a fake querier and not always the full-stack multitest app

ethanfrey commented 3 years ago

I agree.

Look at https://github.com/CosmWasm/cosmwasm/issues/1050 for an issue in that direction. Happy if you add more ideas there.

We also could make such a class in cosmwasm-plus first, try it out in tests, and when we are happy with the api, make a pr to add it to cosmwasm