Search⌘ K
AI Features

Wrapping Up

Explore the process of building a robust stateful property testing suite for a PostgreSQL-backed Elixir bookstore. Understand how to create data generators, refine models through failures, debug using PropEr's shrinking features, and prepare for more complex testing with finite state machines.

We'll cover the following...

Summary

In this chapter, we’ve walked through a realistic integration test suite written as stateful properties. All we had was a model layer for a bookstore using a PostgreSQL instance without any tests. We first started by ...