About the Book
This is a short book on using property-based testing (PBT) within Komposition, a screencast editor.
First, this book introduces the system under test (SUT), Komposition. Next, it goes into PBT and highlights some challenges in testing properties of an application like Komposition. Finally, the main part of the book is compromised of case studies. Each case study covers increasingly complex components and how they are tested. It includes this author's personal reflections, what bugs the tests have found, and what still remains to be improved.
This is not a tutorial on PBT, but rather a collection of motivating examples. That said, you should be able to follow along without prior knowledge of PBT.
For example, it explains how using PBT helped find and fix bugs in the specification and implementation of Komposition's video classifier. Those were bugs that would be very hard to find using example-based tests or using a static type system.
This book is based on articles published on https://wickstrom.tech. While the content is mostly the same, there are few changes bringing it up-to-date. Also, if you've already enjoyed the articles, you might want support my work by purchasing this book. Finally, you might enjoy a nicely typeset PDF, or an EPUB book, over a web page.
To post a review, go to Goodreads.com: https://www.goodreads.com/book/show/47969546-property-based-testing-in-a-screencast-editor
About the Author
After some years of musical education, Oskar Wickström began his journey into the world of software. He’s now working remotely from the Swedish countryside, mostly focusing on functional programming, software architecture, and testing. He writes technical articles at wickstrom.tech, maintains various open source projects, and produces screencasts at haskell-at-work.com. In his spare time, he enjoys long bike rides and working on his acoustic guitar compositions.