HomeCoursesProperty-Based Testing with PropEr in Erlang

Intermediate

17h 30min

Updated 5 months ago

Property-Based Testing with PropEr in Erlang
Save

Gain insights into property-based testing with PropEr in Erlang. Delve into foundational principles, common frameworks, custom data generators, and applying testing in realistic projects for robust code validation.
Join 2.7 million developers at
Overview
Content
Reviews
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 write your own custom data generators, and more. You'll also see how you can use Property-Based Testing in a realistic project. By the time you finish this course, you will be comfortable testing real-world applications using properties.
Property-based testing relies on specifying some property of code, rather than unit tests which specify the expected output in r...Show More

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.
Understand the concepts of PropEr.

Show more

Content

1.

Foundations of Property-Based Testing

5 Lessons

Get familiar with property-based testing for enhanced software quality and efficient debugging.

2.

Writing Properties

8 Lessons

Get started with defining, structuring, and executing properties using PropEr for effective testing.

3.

Thinking in Properties

8 Lessons

Break apart the key strategies for property-based testing, including modeling, generalizing, invariants, and symmetric properties.

5.

Responsible Testing

9 Lessons

Take a closer look at designing resilient units and integrating robust components for effective testing.

7.

Shrinking

5 Lessons

Piece together the parts of shrinking in property testing for simplified error identification.

8.

Targeted Properties

6 Lessons

Learn how to use targeted properties for efficient and dynamic property-based testing in Erlang.

12.

Conclusion

1 Lessons

Take a look at utilizing property-based testing to enhance both unit and integration testing.
Certificate of Completion
Showcase your accomplishment by sharing your certificate of completion.
Developed by MAANG Engineers
Every Educative resource is designed by our in-house team of ex-MAANG software engineers and PhD computer science educators — subject matter experts who’ve shipped production code at scale and taught the theory behind it. The goal is to get you hands-on with the skills you need to stay ahead in today's constantly evolving tech landscape. No videos, no fluff — just interactive, project-based learning with personalized feedback that adapts to your goals and experience.

Trusted by 2.7 million developers working at companies

Hands-on Learning Powered by AI

See how Educative uses AI to make your learning more immersive than ever before.

Instant Code Feedback

Evaluate and debug your code with the click of a button. Get real-time feedback on test cases, including time and space complexity of your solutions.

Adaptive Learning

Explain with AI

AI Code Mentor

Free Resources

FOR TEAMS

Interested in this course for your business or team?

Unlock this course (and 1,000+ more) for your entire org with DevPath