Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow mocking Stargate messages #40

Closed
0xphilipp opened this issue Jun 5, 2023 · 2 comments · Fixed by #106
Closed

Allow mocking Stargate messages #40

0xphilipp opened this issue Jun 5, 2023 · 2 comments · Fixed by #106
Assignees
Milestone

Comments

@0xphilipp
Copy link

It would be great to be able to mock stargate messages.

match msg {

It is not about supporting stargate messages, but only being able to accept them and update some state for testing.

@epanchee
Copy link
Contributor

epanchee commented Sep 14, 2023

I also agree with the said above.

It would be great to include this as a failing module in the default App, allowing devs to replace it with a custom Stargate module in AppBuilder. This feature could significantly simplify the testing of multi-stage contract executions.

While some CosmWasm-enabled chains are transitioning their testing to test-tube, it's important to note that it doesn't provide a comprehensive coverage report. For sophisticated DeFi projects with substantial value at stake, having only 10% or even zero test coverage is a concerning issue in the crypto space, in my opinion. That's why I appreciate the functionality of cw-multitest and would like to request your support in incorporating it.

Is it possible to prioritize this request? I believe it shouldn't be too challenging to implement, in my opinion.

P.S. I'm not asking for real Stargate functionality described in this reply but just to add more flexibility for devs to extend cw-multitest on their own

@DariuszDepta
Copy link
Member

Hi @0xphilipp, could you check if PR #106 addresses your needs, or we are missing something? Thanks in advance for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants