Building an Ethereum Blockchain App: 9 Testing Ethereum Apps
1h 7mIntermediate2021-08-12
Authors

Michael Solomon
Security Speaker, Consultant, Trainer, Project Manager
Course details
Have you wondered how blockchain can help you create applications that offer greater transparency, traceability, efficiency, and resilience while lowering your costs? This course, ninth in a series of eleven, shows you the tools and techniques that you need to test your dApp and fix any bugs that you find. Instructor Michael Solomon explains some pros and cons of private and public test blockchains and introduces a testing strategy that you can follow when writing smart contracts. Michael discusses how to use your Truffle development network to deploy your dApp to a test blockchain. Then he goes into writing tests for your dApp, command-line testing, and JavaScript testing. After explaining how to log errors and activity, Michael concludes with an exploration of how to fix bugs in your dApp.
Skills covered
EthereumWeb3CryptocurrencySoftware TestingFinance and AccountingEssential TrainingData ScienceOpen SourceSoftware Development
Concepts
Testing Ethereum Apps
- Blockchain dApp testing
- Deploying your dApp to a test blockchain
- Writing tests for Ethereum dApps
- Command-line testing part 1
- Command-line testing part 2
- Command-line testing part 3
- JavaScript testing
- Logging and handling errors
- Logging activity in smart contracts
- Fixing bugs in a dApp