Meteor Factory

screenshot of Meteor Factory

Meteor package for creating test data or generating fixtures

Overview:

The Meteor Factory is a package designed for creating test data or generating fixtures for Meteor applications. It provides a convenient way to define factories and create sample data for testing purposes.

Features:

  • Define Factory: Create a factory with a specified name, collection, and document object.
  • Get Factory Instance: Retrieve an instance of a factory by name.
  • Build Data Structure: Build the data structure for a factory, useful for generating test data.
  • Create Factory: Insert the factory data into the MongoDB database.
  • Extend Factory: Extend an existing factory to create new variations.

Summary:

The Meteor Factory package offers a convenient solution for generating test data and fixtures in Meteor applications. With features like defining factories, building data structures, creating data instances, and extending factories, developers can easily create and manage sample data for testing purposes. The package also supports asynchronous operations and provides flexibility in generating object trees without ID fields. Considering its ease of use and comprehensive features, the Meteor Factory is a valuable tool for developers working on Meteor projects.