Thinking in Properties

Property-Based Testing with PropEr, Erlang, and Elixir — Pragmatic Programmers (88 / 100)

👈 Writing Properties | TOC | Custom Generators 👉

Question 1

Your answer could be any three of these strategies:

  • Modeling — comparing the implementation with a simpler but obviously correct one
  • Generalizing traditional tests by automating steps we would do by hand
  • Finding program invariants to validate

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
The Pragmatic Programmers

The Pragmatic Programmers

8.5K Followers

We create timely, practical books and learning resources on classic and cutting-edge topics to help you practice your craft and accelerate your career.