Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 654 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 654 Bytes

factory_gorl

A Go port of Ruby’s factory_girl.

Documentation

Coming soon. In the meantime, take a look at the tests.

Install

go get github.com/gdavison/factory_gorl

Status

So far, it can be used to initialize (Build) an in-memory object and to persist the object (Create) using gorp. Associations have not yet been implemented.

When Createing or Building an object, the factory can be overridden by passing a builder function.

Factory inheritance is implemented.

Copyright © 2014 Graham Davison.