
Property-Based Testing with PropEr, Erlang, and Elixir
Fred Hebert · 2019
Programming and computer science › Functional programming languages
#5,819 most recommended
Hacker News
8
mentions by 6 people · top 35% of 15,732 books
Open Library
—
No ratings yet
1 want to read
Wikipedia
—
No article yet
About the book
A practical guide to property-based testing with PropEr, a QuickCheck-style library for Erlang that also works from Elixir. It covers writing generators, properties, and shrinking, and extends to stateful and concurrent systems. The examples are aimed at developers testing Erlang and Elixir code. Hand-picked example tests check only the inputs their authors thought of, while properties state invariants that should hold across a large space of generated inputs. Stateful testing, which models a system's expected behaviour as a state machine and checks real behaviour against it, is presented as the most valuable use of the technique for complex systems. The author also argues that shrinking, which reduces a failing input to a minimal counterexample, makes such failures far easier to diagnose than random failures alone.
Written by Claude from what it knows of this book.
What Hacker News says 50% recommend · 0% critical
In the commenters’ own words
One past discussion: What is property based testing? - https://news.ycombinator.com/item?id=14017578 - April 2017 (33 comments) Loosely related: In praise of…
Well this is technically the fourth one I'm working on. All are available for free online because I want these resources to be accessible first and foremost…
What Open Library readers say
No Open Library reader has rated it yet.
- 1 want to read
- 0 reading
- 0 have read
What critics say, via Wikipedia
No Wikipedia article about this book yet, so no critics to quote.
Reddit communities — coming later
The threads it came up in
Details
- First published
- 2019
- ISBN
- 9781680506211
- Editions known
- 2 at Open Library
- Open Library
- OL19542011W
Mathematics
Read next: its neighbours on the mosaic
Functional Web Development with Elixir, OTP, and PhoenixLance Halvorsen · 2018 · recommended by 4 people · similar by subject and what people say about it
Literate programmingDonald Knuth · 1992 · recommended by 18 people · similar by subject and what people say about it
Designing Elixir Systems With OTPII James Edward Gray · 2019 · recommended by 7 people · similar by subject and what people say about it
Programming ElixirDave Thomas · 2014 · recommended by 40 people · similar by subject and what people say about it
Learn You Some Erlang For Great Good!Fred Hebert · 2012 · recommended by 89 people · similar by subject and what people say about it
Erlang in Angerrecommended by 24 people · similar by subject and what people say about it
Seven More Languages in Seven WeeksBruce Tate · 2015 · recommended by 4 people · similar by subject and what people say about it
Programming PearlsJon Bentley · 1999 · recommended by 158 people · similar by subject and what people say about it
Data-oriented designMr Richard Fabian · 2018 · recommended by 12 people · loosely similar by subject
The Little Elixir & OTP GuidebookBenjamin Tan Wei Hao · 2016 · recommended by 9 people · similar by subject and what people say about it
Domain Modeling Made FunctionalScott Wlaschin · 2018 · recommended by 43 people · loosely similar by subject
Programming PhoenixChris McCord · 2016 · recommended by 32 people · similar by subject and what people say about it
Programming ErlangJoe Armstrong · 2008 · recommended by 69 people · similar by subject and what people say about it
The 2-Hour Cocktail PartyNick Gray · 2022 · recommended by 4 people · loosely similar by subject
Introducing ElixirSimon St Laurent · 2014 · recommended by 4 people · similar by subject and what people say about it
Erlang and OTP in ActionEric Merritt · 2010 · recommended by 19 people · similar by subject and what people say about it
Erlang programmingFrancesco Cesarini · 2009 · recommended by 10 people · similar by subject and what people say about it
Elixir in actionSas̄a Jurić · 2015 · recommended by 48 people · similar by subject and what people say about it
Program ProofsK. Rustan M. Leino · 2023 · recommended by 2 people · loosely similar by subject
Test-driven developmentKent Beck · 2002 · recommended by 30 people · similar by subject and what people say about it
Practical Foundations for Programming LanguagesRobert Harper · 2016 · recommended by 17 people · similar by subject and what people say about it
Metaprogramming ElixirChris McCord · 2015 · recommended by 3 people · similar by subject and what people say about it
Programming in PrologWilliam F. Clocksin · 1981 · recommended by 8 people · similar by subject and what people say about it
The art of the metaobject protocolGregor Kiczales · 1991 · recommended by 38 people · similar by subject and what people say about it