In this video, we will go through the whole process of test-driven-development (TDD) for Solidity smart contracts:
- writing the tests in Truffle
- running the failing tests with
truffle test
- fixing the test by implementing the missing parts of the Solidity smart contract
- running the tests again, this time it will pass!
The smart contract we will is very simple, so that we can focus on the workflow of testing a smart contract versus the business logic of the smart contract.
Leave a Reply