Skip to content

Data generator with support for persistence backends

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.txt
Notifications You must be signed in to change notification settings

graceful-potato/rom-factory

 
 

rom-factory

Gem Version CI 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:

Installation

Add this line to your application's Gemfile:

gem 'rom-factory'

And then execute:

$ bundle

Or install it yourself as:

$ gem install rom-factory

Performance

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

Comparison:
         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

Credits

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

License

See LICENSE.txt file.

About

Data generator with support for persistence backends

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.txt

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%