Search⌘ K

Wrapping Up

Explore how to implement and refine stateful property-based testing for a complex bookstore system. Learn to create data generators, debug encoding issues, and use PropEr to test SQL interactions. Gain practical experience in enhancing test models and managing parallel tests for robust validation.

We'll cover the following...

Summary

In this chapter, we’ve been through a realistic integration test suite written as stateful properties. We began with a model layer with no tests for a bookstore using a PostgreSQL instance. We first started by drawing up the generators ...