Property-based testing with PropEr, Erlang, and Elixir find bugs before your users do

Property-based testing helps you create better, more solid tests with little code. By using the PropEr framework in both Erlang and Elixir, this book teaches you how to automatically generate test cases, test stateful programs, and change how you design your software for more principled and reliable...

Full description

Bibliographic Details
Other Authors: Hebert, Fred, author (author)
Format: eBook
Language:Inglés
Published: Raleigh, North Carolina : Pragmatic Bookshelf [2019]
Edition:1st edition
Series:Pragmatic programmers.
Subjects:
See on Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009630478006719
Table of Contents:
  • Part 1. The basics. Foundations of property-based testing
  • Writing properties
  • Thinking in properties
  • Custom generators
  • Part 2. Stateless properties in practice. Responsible testing
  • Properties-driven development
  • Shrinking
  • Targeted properties
  • Part 3. Stateful properties. Stateful properties
  • Case study: bookstore
  • State machine properties
  • A1. Solutions
  • A2. Elixir translations
  • A3. Installing postgreSQL
  • A4. Generators reference.