{"repo":"thoughtbot/factory_bot","free":true,"listed":false,"github":"https://github.com/thoughtbot/factory_bot","clone":"git clone https://github.com/thoughtbot/factory_bot.git","description":"A library for setting up Ruby objects as test data.","language":"Ruby","stars":8169,"topics":["factory-girl","ruby","thoughtbot","rubygems","testing","fixtures","factories","rails","factory-bot"],"license":"MIT","category":"dev-tools","readme_excerpt":"factory bot [![Build Status][ci-image]][ci] [![Gem Version][version-image]][version] factory bot 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. If you want to use factory bot with Rails, see factory bot rails. Interested in the history of the project name? You can find the history here Transitioning from factory\\ girl? Check out the upgrade guide. Documentation See our extensive reference, guides, and cookbook in [the factory bot book][]. For information on integrations with third party libraries, such as RSpec or Rails, see [the factory bot wiki][]. We also have [a detailed introductory video][], available for free on Upcase. [a detailed introductory video]: https://upcase.com/videos/factory-bot?utm source=github&utm medium=open-source&utm campaign=factory-girl [the factory bot book]: https://thoughtbot.github.io/factory bot [the factory bot wiki]: https://github.com/thoughtbot/factory bot/wiki Install Run: To install the gem manually from your shell, run: Supported Ruby versions Supported Ruby versions are listed in .github/workflows/build.yml (source) More Information Rubygems Stack Overflow Issues GIANT ROBOTS SMASHING INTO OTHER GIANT ROBOTS [GETTING STARTED]: https://github.com/thoughtbot/factory bot/blob/main/GETTING STAR","default_branch":null,"files":null,"tree":[],"storefront":"/r/thoughtbot","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/thoughtbot/factory_bot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}