Data generator with support for persistence backends
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.


Gem Version Build Status Code Climate Test Coverage Inline docs

Data generator with support for persistence backends, built on top of rom-rb and dry-rb.

More information:


Add this line to your application's Gemfile:

gem 'rom-factory'

And then execute:

$ bundle

Or install it yourself as:

$ gem install rom-factory


Seems like this thing is a bit faster than other popular factory gems:

Warming up --------------------------------------
         rom-factory     1.000  i/100ms
        factory_girl     1.000  i/100ms
         fabrication     1.000  i/100ms
Calculating -------------------------------------
         rom-factory      1.550  (± 0.0%) i/s -      8.000  in   5.166227s
        factory_girl      0.982  (± 0.0%) i/s -      5.000  in   5.098193s
         fabrication      1.011  (± 0.0%) i/s -      6.000  in   5.942209s

         rom-factory:        1.5 i/s
         fabrication:        1.0 i/s - 1.53x  slower
        factory_girl:        1.0 i/s - 1.58x  slower

See benchmarks/basic.rb


This project was originally created by Jānis Miezītis and eventually moved to rom-rb organization.


See LICENSE.txt file.