mesh-security icon indicating copy to clipboard operation
mesh-security copied to clipboard

Improve multi-tests

Open maurolacy opened this issue 1 year ago • 2 comments

Follow-up on the current state of testing.

TODO:

  • [x] #146
  • [x] Remove Mocks / stub contracts. Replace mocks by the real contracts, and adjust tests.
  • [x] Add missing test cases / improve the state of unit / integration testing. Consumer side contracts in particular lack a good of number of tests.
    • #131
    • #132
  • [ ] Send IBC messages when possible. Perhaps by modifying cw-multi-test so that it doesn't fail on unknown IBC messages, but just log them and ignore them.
  • [ ] Improve test (through cfg_attr(test, msg(exec))) code. See https://github.com/CosmWasm/sylvia/issues/206.
  • [ ] Improve sudo handling / tests, with new sylvia support for it.

maurolacy avatar Jul 19 '23 06:07 maurolacy

Closing as done. Will create follow-up issues for the pending bullet points.

maurolacy avatar Oct 19 '23 08:10 maurolacy

Re-opening, as virtual-staking-mock replacement and some other tasks are pending.

maurolacy avatar Oct 19 '23 08:10 maurolacy