Before we get to actually test smart contracts, to get our feet wet let's first learn how to write simple non-blockchain tests with Chai and Mocha.
This is part of a full course on Solidity smart contract testing, where I teach how to develop smart contract with the TDD (test-driven-development approach), using the Truffle framework.
https://eattheblocks-pro.teachable.co...
►►►CREATE FREE ACCOUNT FOR SOURCE CODE◄◄◄
https://eattheblocks-pro.teachable.com
(click on signup)
►►►FULL COURSE ON SMART CONTRACT DEBUGGING◄◄◄
https://eattheblocks-pro.teachable.co...
Other Links:
Official Website https://eattheblocks.com
Author Website: https://www.julienklepatch.com