Closed vaibhavchellani closed 3 years ago
Also it would be interesting to use fixtures from eth-waffle too!
Still researching what might be the best and least dev intensive way to handle this.
My current workaround is using npx truffle development
.
Run migrate --reset
, load deployed contract, then run the contract function.
It makes iterating a single function faster.
We also have in works test specific migrations, but we found that to be very dev intensive. We can use it for quick iterations tho
We have waffle now, can close.
Currently writing tests is not a lot of fun because it takes a lot of time to deploy contract and debug. We are exploring options at the moment and the one that stands out is
eth-waffle
using which we could mock contracts as given here.This issue is to track progress and discussions on how to improve testing framework in hubble-core