1 min read - Posted 08 Mar 19


Just write something to test this website

Created with Sketch.Content is"CC-BY-SA 4.0" licensed
Article On-chain
Article Author
Related Articles
Test article

Test article

Truffle: Testing your smart contract

Earlier in the series, we took a look at how to setup Truffle and use it to compile, deploy and interact with our Bounties.sol smart contract. This article will walk through the steps required to write tests for our smart contract within the Truffle framework. Tests in Truffle projects can be written in Javascript or Solidity, however, this article will focus on the Javascript tests. Truffle uses the Mocha testing framework to provide an easy way to write tests in Javascript and uses Chai for as

Josh Cassidy

02 May 19