Chapter 10

Testing Ethereum Apps


Bullet Planning to test your application

Bullet Deploying your application to a test blockchain

Bullet Fixing bugs

Bullet 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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.