Talk: Capture Domain Rules with Property-Based Testing
Speakers directory
Speaker:
Marcello Duarte
Talk description
Title:
Capture Domain Rules with Property-Based Testing
Short synopsis:
ScalaCheck is a library constructing automated, Property-Based Tests for Scala programs. With this approach we use properties to describe the expected behaviour of a component, generating random input data at first, then testing this data across different areas of the application and reporting the result. This is a great way to capture domain rules and exercise our understanding of the constraints of the business logic. We will learn to write these tests, generate random relevant data for our tests, and reason better about creating types and its properties, while modelling our problem domain.
Max size: 500 chars
Long synopsis (optional):
Max size: 5000 chars
Tags:
Speaker directory:
Listed in directory
Not listed
Speakers directory