I Dream of Gen'ning: ScalaCheck Beyond the Basics

A session at Scala By the Bay

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?!? At Reverb, we've been exploring the outer edges of ScalaCheck's capabilities to generate extensive and deep coverage of our code base. We'll walk through some of the techniques we've been playing with 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

Director of Technology, Sexual Health Innovations

Coverage of this session

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

Tell your friends!

When

Date Fri 8th August 2014

Short URL

lanyrd.com/sdgtgd

Official event site

www.scalabythebay.org

View the schedule

Share

See something wrong?

Report an issue with this session