gnosis / mock-contract

Simple Solidity contract to mock dependent contracts in truffle tests.
94 stars 24 forks source link

Added mock any functions and possibility to add error message #1

Closed rmeissner closed 6 years ago

rmeissner commented 6 years ago

@fleupold could you enable travis for this project?

rmeissner commented 6 years ago

Yeah the reset is kind of ugly ... a possible use case would be to use the same mock for all tests and just reset it after every test .... but to be fair it might probably be cheaper to just deploy a new mock (even so we don't really care about gas costs since it is for testing anyways)