factory_bot - A library for setting up Ruby objects as test data.

  •        14

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.

https://thoughtbot.com/open-source
https://github.com/thoughtbot/factory_bot

Tags
Implementation
License
Platform

   




Related Projects

factory_bot_rails - Factory Bot ♥ Rails

  •    Ruby

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. Check out the guide.

ex_machina - Create test data for Elixir applications

  •    Elixir

ExMachina is part of the thoughtbot Elixir family of projects. ExMachina makes it easy to create test data and associations. It works great with Ecto, but is configurable to work with any persistence library.

factory_girl_rails - Factory Girl ? Rails

  •    Ruby

Factory Girl ? Rails

model_mommy - Object factory for django

  •    Python

Model-mommy offers you a smart way to create fixtures for testing in Django. With a simple and powerful API you can create many objects with a single line of code.

rspec-rails-examples - RSpec cheatsheet & Rails app: Learn how to expertly test Rails apps from a model codebase

  •    Ruby

A small yet comprehensive reference for developers who want to know how to test Rails apps using RSpec. Here you'll find in-depth examples with detailed documentation explaining how to test with RSpec and related testing gems, which you can then apply to your own projects.


laravel-test-factory-helper - Generate Laravel test factories from your existing models

  •    PHP

This package helps you generate model factories from your existing models / database structure to get started with testing your Laravel application even faster. This command will look for all models in your "app" folder (configurable by using the --dir option) and create test factories and save them in your database/factories/ModelFactory.php.

Web Service Software Factory

  •    

The Web Service Software Factory (also known as the Service Factory) is an integrated collection of tools, patterns, source code and prescriptive guidance. It is designed to help you quickly and consistently construct WCF Web services that adhere to well known architecture.

stampit - OOP is better with stamps: Composable object factories.

  •    Javascript

Stampit is a 1.3KB gzipped (or 2.7K minified) JavaScript module which supports three different kinds of prototypal inheritance (delegation, concatenation, and functional) to let you inherit behavior in a way that is much more powerful and flexible than any other Object Oriented Programming model. Stamps are standardised composable factory functions. Stampit is an infected compose featuring friendly handy API.

Web Service Software Factory Contrib

  •    

Service Factory Contrib is a community-developed set of extensions to the Web Service Software Factory from patterns & practices. In short, if you wrote it, why not share it with the world so that they can benefit form all your good work? With your help Service Factory Contri...

Deployment Software Factory

  •    

The Deployment Software Factory provides an array of resources that offer many benefits for architects and developers of service-oriented applications. The Deployment Software Factory contains best practice for continues integration, automatic test running, automatic documenta...

Token-Factory - Basic Token Factory dapp.

  •    Javascript

The Token Factory allows simple creation of a standard ERC20 token on Ethereum. It requires an injected web3 (Mist or Metamask) to function. It also has uPort support. It does not use an on-chain factory at this point in time.

mimesis - Mimesis is a fast and easy to use library for Python, which helps generate synthetic data for a variety of purposes in a variety of languages

  •    Python

Mimesis is a fast and easy to use library for Python programming language, which helps generate synthetic data for a variety of purposes in a variety of languages. This data can be particularly useful during software development and testing. For example, it could be used to populate a testing database, create beautiful JSON and XML files, anonymize data taken from a production service, etc. You can find the complete documentation on the Read the Docs.

rails3-generators - Rails 3 compatible generators for gems that don't have them yet

  •    Ruby

The Factory Girl generators have moved to the factory_girl_rails gem. The Haml generators have moved to the haml-rails gem.

patterns & practices: Repository Factory

  •    

This package was originally released as part of the patterns & practices Web Service Software Factory as the Data Access Guidance Package. It allows easy creation of a data access layer that insulates your application code from your data access code.

The Document Factory

  •    

The Document Factory is an open source template to Microsoft Document application library. It comes in two forms a web based library designed for use as a web service on a node that does not have Microsoft Word installed and a windows library for use on work stations that do h...

The Scrum Factory

  •    

The Scrum Factory totally transforms the Project Management experience. With a very intuitive user interface it provides all tools that a small/medium software factory would need to control its projects using Scrum Practices.

Smart Client Software Factory WPF Support

  •    WPF

This project is a modification of Microsoft Smart Client Software Factory to support building WPF based applications using Kent's WPF layer for CAB

Scrum Factory 2012

  •    

This is the newest and improved version of The Scrum Factory. Scrum Factory is a client-server application that helps teams to conduct software development projects using Scrum methodology.

patterns & practices: Web Client Software Factory Contrib

  •    ASPNET

Community contributions of extensions and providers for the Web Client Software Factory

Smart Client Software Factory / CAB Extensions

  •    

Extensions for Smart Client Software Factory / Composite UI Application Block