Just write something to test this website
Article On-chain
1 min read - Posted 08 Mar 19
02 May 19
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
02 May 19