Главная
Study mode:
on
1
Intro
2
who am I?
3
what will this talk cover?
4
origin story
5
the basic idea
6
false positives
7
case 1: archery
8
case 2: Jawn
9
spire
10
case study summary
11
what are we missing?
12
A WARNING A
13
anatomy of a generator
14
why determinism?
15
anatomy of a random-number generator
16
Introducing map
17
simple generators (revisited)
18
testing it out!
19
simple generators (summary)
20
Introducing flatMap
21
fancy generators (revisited)
22
even more generators
23
fancy generator (summary)
24
a challenger appears!
25
putting the lazy in fp
26
taking a step back
27
leap of faith
28
explore the space
29
polishing it up
30
tying up loose ends
31
turn it up to 11
32
jawn, revisited
33
how does Gen really work?
34
a terrible price
35
recommendations
36
what we saw
Description:
Explore the intricacies of property-based testing in this comprehensive conference talk from Philly ETE 2017. Delve into the fundamentals of property-based testing, its implementation, and its inner workings using ScalaCheck as a primary example. Learn how to identify and test code properties and invariants to create more effective and engaging tests. Gain insights into the anatomy of generators, the importance of determinism, and the role of random-number generators in property-based testing. Discover advanced concepts such as maps, flatMaps, and lazy evaluation in the context of test generation. Examine real-world case studies, including examples from archery and Jawnspire, to understand the practical applications of property-based testing. By the end of this talk, acquire the knowledge necessary to start developing your own property-based testing framework and apply these concepts across various programming languages.

Functions and Determinism in Property-based Testing - Lecture 9

ChariotSolutions
Add to list