
Want this course?
Video time: 40m55s
Want this course?
Strategies for properties: algebraic properties
Course: Beginning Property-Based Testing with test.check
I often run through a short list of algebraic properties, the ones you learn in Algebra class, to find properties to test. In this lesson, we go over six properties that you can use and modify to your needs.
Buy this course to view the code.
Course: Beginning Property-Based Testing with test.check
Lessons
What is Property-Based Testing?
free
18 min
What is test.check?
5 min
Advantages of Property-Based Testing
7 min
When can you use Property-Based Testing
8 min
How does Property-Based Testing work?
free
12 min
An overview of property-based testing with an example test
34 min
A tour of the built-in generators
44 min
Building your own simple generators
31 min
Strategies for properties: functionality
16 min
Strategies for properties: invariants
10 min
Strategies for properties: algebraic properties
41 min
Testing pure functions
1 hr
When to test: before implementation
41 min
When to test: after implementation
44 min