Skip to content

Instantly share code, notes, and snippets.

@charleso
Last active August 29, 2015 14:15
Show Gist options
  • Save charleso/4db1fac4f2e7cfc26e76 to your computer and use it in GitHub Desktop.
Save charleso/4db1fac4f2e7cfc26e76 to your computer and use it in GitHub Desktop.
YLJ 2015 Submission - Practical property-based testing
Category:
Talk
Target:
Intermediate
Language:
Haskell
Scala
Author:
Charles O'Farrell
Ambiata
[email protected]
@charlesofarrell
Title:
Practical property-based testing
Abstract:
At first it can be tricky working out how exactly you test your code with
properties. The good news is that there are some very obvious and useful
patterns that can make writing generators and properties easy by
mere-mortals.
This talk aims to cover some of those patterns, and in doing so help both
people working or struggling with property-based testing, and through that
to also motivate the use of property-based testing for those still
unfamiliar with the concept.
Notes:
This talk is not intended as a introduction to property-based testing,
but instead introduces a number of useful patterns, such as writing symmetric
functions, and then applies them to a real world setting.
It is expected that the audience will come away with
- Motivation for using property-based testing (for those new to the idea)
- Simple but powerful techniques for writing properties
This talk will be derived from a talk I delivered to ScalaSyd:
- http://blog.charleso.org/property-testing-preso/
One key difference will be to skip the introductory section on generators
and jump straight into the more juicy details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment