This adds the initial testing setup via some fixtures for deploying Unlock, Lock template, config Unlock, deploy new lock, config new lock and deploy hook.
It gives a simple way to get to a point where I can start adding real tests by calling purchase on the lock and testing the hook's behaviour.
I've made a bit of progress on the hook contract, but it's still in draft-status. The next step is to make a mock-hook so I can test it without adding temporary functions/variables, and ensure the math is working as expected.
This adds the initial testing setup via some fixtures for deploying Unlock, Lock template, config Unlock, deploy new lock, config new lock and deploy hook. It gives a simple way to get to a point where I can start adding real tests by calling purchase on the lock and testing the hook's behaviour.
I've made a bit of progress on the hook contract, but it's still in draft-status. The next step is to make a mock-hook so I can test it without adding temporary functions/variables, and ensure the math is working as expected.