Chapter 10
Testing Ethereum Apps
IN THIS CHAPTER
Planning to test your application
Deploying your application to a test blockchain
Fixing bugs
Managing source code
In Chapter 9, you learn about writing smart contract software in Solidity. Although writing source code is the most visible phase in the software development lifecycle, it is only one part of the complete process. Of course, before you write any code, you should spend time planning and designing your application. Those phases should leave you with a clear specification document that contains the requirements your software must satisfy. After you have an application that compiles, you're ready to test it to see whether it does what it's supposed to do.
Testing software is more than just seeing whether it runs without obvious errors. Testing software ensures that it does what it is supposed to do, doesn’t do what it isn’t supposed to do, and fulfills the requirements set for the software in the first place.
All too often, a customer agrees to pay for software that does tasks A, B, and C, but ends up getting a different ...
Get Ethereum For Dummies now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.