odradev / odra

Odra framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Contract mocking

zie1ony opened this issue · comments

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 😅 ).