Search⌘ K
AI Features

Introducing the Application

Explore how to test a real-world PostgreSQL-backed bookstore application using Elixir and PropEr. Understand setting up the project, configuring dependencies, initializing the database, and applying stateful properties for effective testing.

The application

The application will be a bookstore implementation that uses a PostgreSQL back-end, 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 Elixir.

Because real-world systems contain more moving parts, they’ll have a far larger portfolio of errors and strange behaviors to detect ...