Monday 3rd November, 2014
4:10pm to 5:00pm
ScalaCheck, the property-based testing library for Scala, is a powerful tool for automating test coverage. Out of the box, you can easily generate gobs of test data and automatically shrink failure cases down to specific causes. Who was ever satisfied with out of the box, though?!?
By exploring the outer edges of ScalaCheck's capabilities, it's possible to generate extensive and deep coverage of your code base.
We'll walk through the basics of property-based testing and take a whirlwind tour of some more advanced techniques and their possibilities, including building complex custom data generators, shrinking smarter, basing data generation on samples from production data, using ScalaCheck to power performance benchmarks, and automatically generating Arbitrary and Shrink instances for case classes using Shapeless.
Director of Technology, Sexual Health Innovations
Kelsey Gilmore-Innis is a back-end engineer at PagerDuty, where she uses Scala & functional programming to build powerful, scalable software systems. She strives to write code with charisma, uniqueness, nerve and talent and hopes to one day really, truly, deeply understand what a monad is. @kelseyinnis
Sign in to add slides, notes or videos to this session