User's Rate 0.00 . Total 0 votes

makery.js

Factory-style (via blueprints) object creation for tests. Inspired by Ruby Machinist.

Makery is a library that allows you to create objects with default values (and possibly overriding those) via the definition of blueprints.

Makery works really well for creating Backbone models, but that is not the only use case. Makery can be used to create any kind of objects from a constructor.

  • Install via NPM

    Use npm:

  • Readme

Comments