Property Based Testing with ScalaCheck Training Course

Overview

ScalaCheck is a library for carrying out automated, property-based testing for Scala or Java programs. Inspired by the Haskell library QuickCheck, it uses properties to describe the expected behavior of an application, generating random input data at first, then testing this data across different areas of the application and reporting the result.

In this instructor-led, live training, participants will learn the benefits of and concepts behind property-based testing as they practice writing properties that lead to the automatic generation of test cases.

By the end of this training, participants will be able to:

  • Write general properties that replace and/or compliment hand-written unit test cases
  • Write tests at the higher level of property specifications
  • Execute ScalaCheck as a standalone executabl, using the built-in command line test runner
  • Integrate ScalaCheck with test frameworks such as ScalaTest, specs2 and LambdaTest

Audience

  • Test engineers
  • Developers

Format of the course

  • Part lecture, part discussion, exercises and heavy hands-on practice

Requirements

  • An understanding of Java and Scala
  • Experience with the command line
  • Experience with software testing

Leave a Reply

Your email address will not be published. Required fields are marked *