Learn the concepts of Property-Based Testing, including writing properties and their required generators.
Intermediate
88 Lessons
17h 30min
Certificate of Completion
Learn the concepts of Property-Based Testing, including writing properties and their required generators.
AI-POWERED
AI-POWERED
This course includes
This course includes
Course Overview
Property-based testing relies on specifying some property of code, unlike unit tests, which specify the expected output in response to some inputs. In this course, we'll cover the concepts we need to feel confident about using even the most advanced features of PropEr with Elixir. We'll start with the basic and foundational principles of property-based testing, see what the framework offers us to get started, make our way through thinking in properties, write our own custom data generators, and then learn ...
What You'll Learn
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
What You'll Learn
Understand the concepts of PropEr.
Show more
Course Content
Foundations of Property-Based Testing
Writing Properties
Thinking in Properties
Custom Generators
Responsible Testing
Properties-Driven Development
9 Lessons
Shrinking
5 Lessons
Stateful Properties
8 Lessons
Case Study: Bookstore
11 Lessons
State Machine Properties
11 Lessons
Conclusion
1 Lesson
Course Author
Trusted by 1.4 million developers working at companies
Anthony Walker
@_webarchitect_
Evan Dunbar
ML Engineer
Carlos Matias La Borde
Software Developer
Souvik Kundu
Front-end Developer
Vinay Krishnaiah
Software Developer
Eric Downs
Musician/Entrepeneur
Kenan Eyvazov
DevOps Engineer
Souvik Kundu
Front-end Developer
Eric Downs
Musician/Entrepeneur
Anthony Walker
@_webarchitect_
Evan Dunbar
ML Engineer
See how Educative uses AI to make your learning more immersive than ever before.
Instant Code Feedback
AI-Powered Mock Interviews
Adaptive Learning
Explain with AI
AI Code Mentor