Chapter 6. Testing
This chapter covers
- Writing unit tests
- Writing fuzz tests
- Testing update functions
- Testing view functions
Our Photo Groove application has been delighting users in production for a while now, and things have settled down on the development team. Our manager has left for vacation with vague instructions to “keep the lights on,” and we find ourselves with time to revisit some of the corners we cut when shipping Photo Groove.
At this point, we know we’ll be maintaining this application for the long haul. We’ll need to add new features, improve existing ones, and do both without introducing bugs to the existing feature set. That isn’t easy! The longer our application is around, the more important it will be that the code we ...
Get Elm in Action 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.