Registry / testing / fabrication

fabrication

JSON →
library3.0.0rbrubygemsunverified

Fabrication is an object generation framework for ActiveRecord, Mongoid, Sequel, or any other Ruby object.

gem install fabrication
INSTALL
IMPORT
SIG · FABRICATION
F
fabrication
testingrubyv3.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Fabrication
require 'fabrication'

Define a fabricator and generate an object.

require 'fabrication' Fabricator(:user) do name { Faker::Name.name } end user = Fabricate(:user)
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.0.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
fabrication — gem install fabrication · libregistry