Search⌘ K
AI Features

Introducing the Application

Explore setting up a bookstore application with a PostgreSQL backend and Erlang. Learn to initialize the database and configure dependencies to enable stateful property-based testing in a real-world system. This lesson helps you understand how to manage complex components and prepare for thorough testing.

The application

The application will be a bookstore implementation that uses a PostgreSQL backend, with SQL queries and network connections as part of the code to be tested. Even with all these moving pieces, we’ll still be able to test it all using Erlang.

Because real-world systems contain more moving parts, they’ll have a far larger portfolio of errors and strange behaviors to detect and debug. We’ll keep on using stateful properties, but we may ...