January 2019
Intermediate to advanced
376 pages
8h 49m
English
What we need now is a framework. As opposed to many testing practices that require a tiny bit of scaffolding and a lot of care, property-based testing is a practice that requires heavy tool assistance. Without a framework we have no way to generate data, and all we’re left with are encoded rules that don’t get validated. If you use a framework that doesn’t generate great data or doesn’t let you express the ideas you need, you’ll find it very hard to get as high a quality in your tests as you would with a good one.
As the book title implies, we will use PropEr. It can be used by both Erlang and Elixir projects, and integrate with the usual build tools used in both languages. There are other frameworks available, ...