Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate with Factory Boy #6

Closed
thedrow opened this issue Sep 30, 2013 · 5 comments
Closed

Integrate with Factory Boy #6

thedrow opened this issue Sep 30, 2013 · 5 comments

Comments

@thedrow
Copy link

thedrow commented Sep 30, 2013

Factory Boy provides easy replacement for fixtures. It allows for an easy definition of factories, various build factories, factory inheritance etc.
It has a FuzzyAttribute mechanism which suites perfectly for faker.

@joke2k
Copy link
Owner

joke2k commented Feb 4, 2014

very interesting, thanks for the tip.
I had a look at the FuzzyAttribute mechanism and it seems very interesting.

do you have any idea on how we could implement it in the faker?

@fgimian
Copy link

fgimian commented Mar 28, 2014

Hey guys, check out this example: https://github.com/SawdustSoftware/flask-chassis/blob/master/src/factories.py

Although this is not quite as elegant as the Ruby implementation, I believe it's the correct way of using both modules together.

Any changes to further improve this would have to be on factory boy's end 😄

Cheers
Fotis

@fcurella
Copy link
Collaborator

maybe we can provide some example like that in our docs.

On Fri, Mar 28, 2014 at 7:40 AM, Fotis Gimian notifications@github.comwrote:

Hey guys, check out this example:
https://github.com/SawdustSoftware/flask-chassis/blob/master/src/factories.py

Although this is not quite as elegant as the Ruby implementation, I
believe it's the correct way of using both modules together.

Any changes to further improve this would have to be on factory boy's end [image:
😄]

Cheers
Fotis


Reply to this email directly or view it on GitHubhttps://github.com//issues/6#issuecomment-38914555
.

@fcurella
Copy link
Collaborator

fcurella commented Apr 2, 2014

closed in 57ecb38

@fcurella fcurella closed this as completed Apr 2, 2014
@fgimian
Copy link

fgimian commented Apr 4, 2014

Great stuff, thanks heaps!! 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants