Project

fitments

0.0
No commit activity in last 3 years
No release in over 3 years
Fitments provides a number of classes that help with generating development and test data.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

 Project Readme

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: brenda@example.com

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