In this talk we will discuss how to reuse some of the existing ScalaCheck code to generate random instances of given types and how these can be combined to generate random case classes. We will analyse the properties of a ScalaCheck generator and provide examples of how we can manipulate existing generators to meet our needs.
YOU MAY ALSO LIKE:
- Refactor All the Things! (SkillsCast recorded in December 2018)
- Haskell eXchange 2021: Pro Track (Online Conference on 16th - 17th November 2021)
- Formal Verification of Subsets of the Rust Language (SkillsCast recorded in June 2021)
- Rethinking Bioinformatic Algorithms Using F# (SkillsCast recorded in October 2020)
Random Data Generation with ScalaCheck
Daniela Sfregola is a Software Engineer, currently working at Morgan Stanley. She is an active contributor to the Scala Community, as well the maintainer of a few open source projects and organizer of the London Scala User Group meetup. She is writing a book with Manning Publications, titled "Get Programming with Scala".