This month we'll have Tom Leach from Gamechanger discuss their open source library, Monofacture.
One of the biggest selling points of MongoDB is its ability to directly persist arbitrary object structures without requiring the developer to navigate issues like building an ORM layer. However, this flexibility comes at a price - creating meaningful test data which adheres to these more complex structures can be much more involved.
At GameChanger we observed that developers typically had to write large amounts of test data setup boilerplate to perform an effective test against a MongoDB-dependent function, dis-incentivizing them from writing rigorous tests. So we created Monufacture - a Python test data generation framework for MongoDB that makes setting up test data a breeze.
In this talk I'll be breaking down some of motivations and design decisions behind Monufacture, demoing its functionality and giving some tips on how to write effective tests of your MongoDB-dependent code.
Note: Gamechanger is in Suite 202