4th Street Bar Hive-Bar

Hive-Bar Powered by Hive beta-fdb5b5b

Community post

Advanced Solidity Tutorial: Unit Testing Contract Call Reverts in Remix

Here's a more advanced tutorial on some of the finer points of unit testing with Solidity - What do you do when you want to test whether an assertion or require() call fails? In this video I'll show you how to use an intermediate proxy contract and lower-level Solidity calls to let your Solidity tests continue executing when a contract call is reverted. Let me know if you have any questions and if you found this useful - thanks!

https://www.youtube.com/watch?v=VAlgT7byewQ

73 upvotes $1.87

Replies (8)

Review before signing

Posting as . Signing with . Keychain permission: Posting. Hive Keychain will ask you to approve this action next.


  
Technical details

Operation fingerprint: