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

Contract mocking #498

Open
zie1ony opened this issue Jul 1, 2024 · 0 comments
Open

Contract mocking #498

zie1ony opened this issue Jul 1, 2024 · 0 comments

Comments

@zie1ony
Copy link
Contributor

zie1ony commented Jul 1, 2024

Currently it's problematic to test contracts that are a part of a larger multi smart contracts design. I think we should have a tool that allows us to define a mock contract and specify what should it return at the given entrypoints, expect the number of calls to those entrypoints and even raise an error. Functionalities can be similar to mockall (but without statics 😅 ).

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

No branches or pull requests

1 participant