Specmonstah was born out of a need to replace brittle, repetitive code for creating deeply-nested hierarchies of data in unit tests. This tutorial will show you how to use Specmonstah specifically for this use case. Along the way you'll learn how to make the most of Specmonstah by understanding how it's not implemented to support writing unit tests per se, but to support the more fundamental operations of generating and manipulating entity graphs.
In trying to figure out how to explain this I had the thought, "Specmonstah is all about data and the stuff you can do with that data. It felt super profound, like I had gotten a direct glimpse of the underlying structure of the cosmos. Real "shower thoughts" moment.
We'll start with a high-level overview of how Specmonstah's data and operations support the overall goal of aiding testing by generating and inserting records in a database in dependency order.
Last modified 3yr ago