Dan Lipert avatar

Advanced Solidity Tutorial: Unit Testing Contract Call Reverts in Remix

danlipert

Published: 11 Sept 2018 › Updated: 11 Sept 2018Advanced Solidity Tutorial: Unit Testing Contract Call Reverts in Remix

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!

Leave Advanced Solidity Tutorial: Unit Testing Contract Call Reverts in Remix to:

Written by

CTO @ HoardInvest.com

Read more #ethereum posts


Best Posts From Dan Lipert

We have not curated any of danlipert's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From Dan Lipert