I Dream of Gen'ning: Protecting Your Codebase With Scalacheck's Magic

A session at QCon San Francisco 2014

Monday 3rd November, 2014

4:10pm to 5:00pm (PST)

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.

About the speaker

This person is speaking at this event.
Kelsey Gilmore-Innis

Chief Technical Officer, Callisto

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

Coverage of this session

Sign in to add slides, notes or videos to this session

Tell your friends!


Time 4:10pm5:00pm PST

Date Mon 3rd November 2014

Short URL


View the schedule


See something wrong?

Report an issue with this session