Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sixarm/sixarm_ruby_fab
SixArm.com → Ruby → Fab gem to fabricate sample data for testing
https://github.com/sixarm/sixarm_ruby_fab
data fabrication factory fake gem mock ruby
Last synced: 24 days ago
JSON representation
SixArm.com → Ruby → Fab gem to fabricate sample data for testing
- Host: GitHub
- URL: https://github.com/sixarm/sixarm_ruby_fab
- Owner: SixArm
- License: other
- Created: 2013-07-31T09:34:11.000Z (over 11 years ago)
- Default Branch: main
- Last Pushed: 2023-09-15T19:28:07.000Z (over 1 year ago)
- Last Synced: 2024-05-02T00:54:44.925Z (8 months ago)
- Topics: data, fabrication, factory, fake, gem, mock, ruby
- Language: Ruby
- Homepage: http://sixarm.com
- Size: 568 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# SixArm.com → Ruby →
Fab gem for fabricated sample data for testing[![Gem Version](https://badge.fury.io/rb/sixarm_ruby_fab.svg)](http://badge.fury.io/rb/sixarm_ruby_fab)
[![Build Status](https://travis-ci.org/SixArm/sixarm_ruby_fab.png)](https://travis-ci.org/SixArm/sixarm_ruby_fab)
[![Code Climate](https://api.codeclimate.com/v1/badges/0e443b17ddbe4045ceb9/maintainability)](https://codeclimate.com/github/SixArm/sixarm_ruby_fab/maintainability)* Git:
* Doc:
* Gem:
* Contact: Joel Parker Henderson,
* Project: [changes](CHANGES.md), [license](LICENSE.md), [contributing](CONTRIBUTING.md).## Introduction
Fabricate sample data suitable for testing.
Requires the Forgery gem.
For docs go to
Want to help? We're happy to get pull requests.
## Install
### Gem
To install this gem in your shell or terminal:
gem install sixarm_ruby_fab
### Gemfile
To add this gem to your Gemfile:
gem 'sixarm_ruby_fab'
### Require
To require the gem in your code:
require 'sixarm_ruby_fab'
## Examples
Create a fab:
require "sixarm_ruby_fab"
fab = Fab.newUse it:
fab.email_address #=> "[email protected]"
fab.street_address #=> "123 Main Street"