Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.new

Use it:

fab.email_address #=> "[email protected]"
fab.street_address #=> "123 Main Street"