0

I want to improve how I test to increase my effectiveness and efficiency, so would like to hear from others.

How do you test your smart contracts i.e. do you have a particular methodology for what tests you actually create?

The way I've been doing it: I've been going through each function, testing each one's require() statements and access management (onlyOwner), then generally try thinking of anything else that could be tested in Truffle as I go over each function.

Also, how long do you tend to spend on testing? I've found testing to be a big timesink and end up spending much more time compared to writing the contracts, so concerned I might be overdoing it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.