How to test proper{t,l}y (Scala Matsuri edition)

How to test proper{t,l}y (Scala Matsuri edition)

Writing unit tests is pretty much established practice and in addition to that, property testing has caught up on popularity. Most functional languages have one, sometimes even many implementations. But “property testing” has a lot of aspects: randomized or exhaustive, minimization and generalization of counter examples, custom generators and filters, to name a few. Very often, property tests don’t exploit all the features of the framework. In this talk, I’ll give an overview of the state of the art of property testing in FP languages and show some common use cases, techniques and pitfalls.


Lars Hupel

June 29, 2019