axelson

axelson

Scenic Core Team

38) ElixirConf US 2018 – Picking Properties to Test in Property-Based Testing – Michael Stalker

ElixirConf US 2018 – Picking Properties to Test in Property-Based Testing – Michael Stalker (@mstalker)

The developer stared at the screen in frustration and grumbled, “Example-based testing is straightforward. I pick a few inputs, and verify the output. I don’t get property-based testing. How can I write a test if I don’t know what the inputs are?”

Maybe you’re like this developer. Maybe you’re sold on the value of property-based testing. Maybe you’re convinced that it will help you write effective specs. But where do you go from here?

Identifying properties to test is your next step toward property-based testing greatness. You’ll learn what properties are. You’ll gain strategies to identify them in your code. You’ll see practical examples using StreamData, a property-based testing library. You might even start to view code verification in a new light.

You’ll get the most out of this presentation if you have used example-based testing in any language. You’ll go from “property-based testing looks awesome” to “I can do it!”

Audience: Beginner, Intermediate, Advanced
Topics: testing, property-testing

All talks are available in the ElixirConf US 2018 Talks List or via the elixirconf2018 tag

Most Liked

axelson

axelson

Scenic Core Team

I have to say that this was one of my favorite talks of the conference. It was very informative, well paced, and thoughtful. I’ll definitely be re-watching it in the future (before I open my ice cream shop :joy:)

DanCouper

DanCouper

This was my favourite talk by quite a long way; I’m busy trying to git gud at property-based testing, and the way he broke it down was excellent. Very nice when paired with the Ferd book.

Where Next?

Popular in Talks Top

kokolegorille
Lonestar Elixir 2018 videos are starting to pop up :slight_smile: https://www.youtube.com/channel/UCOy-_b9bqjokoWX9Hg5ZgUg Day 1 Chris ...
New
axelson
ElixirConf 2018 – Day 2 Opening Keynote – Justin Schneck (@mobileoverlord) All talks thread:
New
axelson
Today’s talk is another one from Toyota Connected ElixirConf 2017 - Elixir with Kafka - Mathew Gardner Elix...
New
brightball
Since the comments are turned off on the YouTube videos, I’m going to post on talk per day on here for viewing and discussion…starting wi...
New
rodrigues
Whether you’re developing a small web site or a large-scale distributed system, Erlang and Elixir are great tools for building server-sid...
New
AstonJ
#Day 1 ElixirConf 2017 - Day 1 Keynote - Justin Schneck (Discussion thread) ElixirConf 2017 - My Journey from Go to Elixir - Veronica L...
New
axelson
ElixirConf US 2018 – Texas: Virtual DOM Library for Server-Side V-DOM. – Dan McGuire (@dgmcguire) Client-si...
New
axelson
ElixirConf 2017 - Managing Tables With Elixir and OTP - Robert Beene We’ve all waited for a table at a resta...
New
axelson
by @jola Can you write a performant string processing scripts in Elixir? This talk attempts to answer that question while incrementally...
New
axelson
Okay, posting this day’s talk by @boydm: ElixirConf 2017 - Elixir Native UI - Boyd Multerer I will be show...
New

Other popular topics Top

lessless
I believe there are people here who are dealing with CSV files import on the daily basis, and since Excel is a really popular tool there ...
New
fireproofsocks
Forgive me if this is obvious, but how does one delete a database record WITHOUT selecting it first? Ecto.Repo — Ecto v3.14.0 has exampl...
New
JakeBecker
TL;DR: I’ve just released an implementation of Microsoft’s IDE-independent Language Server Protocol for Elixir. It adds language support ...
1144 53690 245
New
chrismccord
This release brings a number of exciting features, including integration with the new Phoenix LiveDashboard and Phoenix LiveView. There h...
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New
grych
Hi folks, Few months ago I have announced the proof-of-concept of the library to manipulate the browsers DOM objects directly from Elixi...
639 52341 488
New
jason.o
In the code below, if the create action is not set to accept “extra_key” as an input, it errors out with a message shown above. Is there ...
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
Qqwy
Update: How to use the Blogs & Podcasts section You can post links to your blog posts or podcasts either in one of the Official Blog...
3271 126479 1222
New
PeterCarter
There are pre-rolled solutions for other frameworks that do work. However, Phoenix does not seem to have these. Have people had good expe...
New

We're in Beta

About us Mission Statement