Welcome to the wonderful world of Test-Driven Development!
Through this course, you will be able to have a glimpse into how to setup TDD in a Solidity project to build smart contracts for the Ethereum blockchain.
This means you will be able to create smart contracts with less bugs and fewer lines of code, and be much more relaxed when it goes into production.
This course is an introduction to TDD in Solidity.
Why we should use TDD in a Solidity project
How to setup your environment and create a project
How to create tests for a smart contract
How to launch your tests
How to test the basic behavior of a constructor
How to test conditions that should trigger an error
How to test a value has been correctly set inside a mapping
How to test if a specific event was emitted during a function call