Buy Tickets

Property-based testing is a mindset

Property-based testing introduces randomness to extensively test your code.

Property-based testing is a technique that allows to reduce the number of unit tests and at the same time increase the robustness of a test suite by introducing randomness. It also changes the way you think about code: you'll start thinking about what inputs your code can take and what properties the output should have instead of testing specific cases. In this talk, we will go over the main ideas behind property-based testing, we'll talk about design patterns to come up with and write properties, and finally talk about stateless and stateful testing. We'll use the Elixir programming language to show examples and illustrate ideas, but the concepts we'll discuss apply to all programming languages.

Friday, 2018-10-05 @ 11:35
> Skill level: intermediate
> Duration: 25 min

View slides Rate talk


Photo of Andrea Leopardi

Andrea Leopardi

Andrea is a human being born in the ancient lands of central Italy. He loves functional programming, beautiful code, and learning stuff. He's a software architect, speaker, and member of the core team of the Elixir programming language. His weak spot is having red hair.

Subscribe for latest news