Intermediate
94 Lessons
17h 30min
Certificate of Completion
Takeaway Skills
Understand the concepts of PropEr.
Understand the role of generators in property in property-based testing.
Have a clear sense where property-based testing has an advantage over EUnit tests and vice versa.
Be able to use stateful properties with ease.
Learn how to write State Machine Properties.
Understand property-based testing.
Course Overview
Property-based testing relies on specifying some property of code, rather than unit tests which specify the expected output in response to some inputs. In this course, you’ll cover the concepts you need to get started, up to the point where you feel confident enough to use the most advanced features of PropEr with Erlang. You’ll start smoothly with the basic and foundational principles of property-based testing. From there, you will cover some of the common frameworks, how to think in properties, how to wr...
Course Content
Foundations of Property-Based Testing
Writing Properties
Thinking in Properties
Custom Generators
Responsible Testing
Properties-Driven Development
9 Lessons
Shrinking
5 Lessons
Targeted Properties
6 Lessons
Stateful Properties
8 Lessons
Case Study: Bookstore
11 Lessons
State Machine Properties
11 Lessons
Conclusion
1 Lesson
How You'll Learn
You don’t get better at swimming by watching others. Coding is no different. Practice as you learn with live code environments inside your browser.
Videos are holding you back. Educative‘s interactive, text-based lessons accelerate learning — no setup, downloads, or alt-tabbing required.
Learn faster and smarter with adaptive AI tools embedded in every Educative course.
Built-in assessments let you test your skills. Completion certificates let you show them off.