A MongoDB collection stores related documents inside a database. In a development workflow, create a collection, load representative records, and let the application retrieve them through the MongoDB driver. section 4.5.2
A practical development setup follows these steps:
- Create a database such as video-streaming and a videos collection with Studio 3T. section 4.5.2
Fixture-backed videos collection
A test fixture can populate the videos collection with metadata for two videos. Store static records as JSON, or export JavaScript objects when dynamic identifiers or generated data are useful. The fixture filename identifies the collection, while its directory identifies the fixture’s purpose. section 10.7.1















