Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 69 lines (46 sloc) 2.214 kb
40d08ee @JDutil Fix the travis-ci build status image to use https, which prevents Git…
JDutil authored
1 # factory_girl [![Build Status](https://secure.travis-ci.org/thoughtbot/factory_girl.png)](http://travis-ci.org/thoughtbot/factory_girl)
df67e90 change readme to markdown and add in credit and license info
Chad Pytel authored
2
3 factory_girl is a fixtures replacement with a straightforward definition syntax, support for multiple build strategies (saved instances, unsaved instances, attribute hashes, and stubbed objects), and support for multiple factories for the same class (user, admin_user, and so on), including factory inheritance.
4
5 If you want to use factory_girl with Rails 3, see
9fb8a3b @jferris Converted the contribution guidelines; updates to readme
jferris authored
6 [factory_girl_rails](http://github.com/thoughtbot/factory_girl_rails).
3acd41d @jferris Extract examples out to a different file so that the readme people se…
jferris authored
7
8 Documentation
9 -------------
10
11 You should find the documentation for your version of factory_girl on [Rubygems](http://rubygems.org/gems/factory_girl).
12
1d66072 @r00k Fix link to GETTING_STARTED.
r00k authored
13 See [GETTING_STARTED.md](http://github.com/thoughtbot/factory_girl/blob/master/GETTING_STARTED.md) for information on defining and using factories.
df67e90 change readme to markdown and add in credit and license info
Chad Pytel authored
14
3292d63 @gmile More clear install message
gmile authored
15 Install
df67e90 change readme to markdown and add in credit and license info
Chad Pytel authored
16 --------
17
3f15c23 @mike-burns Clear up the language for pedantic people.
mike-burns authored
18 ```shell
3292d63 @gmile More clear install message
gmile authored
19 gem install factory_girl
20 ```
21 or add the following line to Gemfile:
8ad1cc6 @gabebw Fix syntax highlighting
gabebw authored
22
3292d63 @gmile More clear install message
gmile authored
23 ```ruby
24 gem 'factory_girl'
25 ```
3f15c23 @mike-burns Clear up the language for pedantic people.
mike-burns authored
26 and run `bundle install` from your shell.
df67e90 change readme to markdown and add in credit and license info
Chad Pytel authored
27
28 More Information
29 ----------------
30
3acd41d @jferris Extract examples out to a different file so that the readme people se…
jferris authored
31 * [Rubygems](http://rubygems.org/gems/factory_girl)
df67e90 change readme to markdown and add in credit and license info
Chad Pytel authored
32 * [Mailing list](http://groups.google.com/group/factory_girl)
33 * [Issues](http://github.com/thoughtbot/factory_girl/issues)
34 * [GIANT ROBOTS SMASHING INTO OTHER GIANT ROBOTS](http://giantrobots.thoughtbot.com)
35
36 Contributing
37 ------------
38
ecae46e @r00k Add link to contribution guidelines.
r00k authored
39 Please see the [contribution guidelines](http://github.com/thoughtbot/factory_girl/blob/master/CONTRIBUTION_GUIDELINES.md).
df67e90 change readme to markdown and add in credit and license info
Chad Pytel authored
40
41 Credits
42 -------
43
44 factory_girl was written by Joe Ferris with contributions from several authors, including:
45
46 * Alex Sharp
47 * Eugene Bolshakov
48 * Jon Yurek
49 * Josh Nichols
50 * Josh Owens
51 * Nate Sutton
52
53 The syntax layers are derived from software written by the following authors:
54
55 * Pete Yandell
56 * Rick Bradley
57 * Yossef Mendelssohn
58
59 ![thoughtbot](http://thoughtbot.com/images/tm/logo.png)
60
61 factory_girl is maintained and funded by [thoughtbot, inc](http://thoughtbot.com/community)
62
63 The names and logos for thoughtbot are trademarks of thoughtbot, inc.
64
65 License
66 -------
67
68 factory_girl is Copyright © 2008-2011 Joe Ferris and thoughtbot. It is free software, and may be redistributed under the terms specified in the LICENSE file.
Something went wrong with that request. Please try again.