Skip to content

Fitments provides a number of classes that help with generating development and test data.

License

Notifications You must be signed in to change notification settings

Fingertips/fitments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fitments

Fitments provides a number of classes that help with generating development and test data.

For example, you can define a Person class that autocompletes personal data.

class Person
  include Fitments::Fixture

  emits :name, :email, :created_at

  def created_at
    read_attribute(:created_at) || Time.now
  end
end
brenda: !ruby/object:Person
  email: [email protected]

Development

When you want to make changes to Fitments start by installing all dependencies.

bundle install

Then make sure all tests run for you before you start making changes.

bundle exec rake

About

Fitments provides a number of classes that help with generating development and test data.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages