How to do it...

Truffle allows test cases written in both JavaScript and Solidity. JavaScript tests follow Mocha as a testing framework and Chai for assertions. For Solidity-based test cases, Truffle provides a default assertion library for you to use. Let's look into each method and write some test cases.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.135.200.14