Coder Social home page Coder Social logo

Integrate with Factory Boy about faker HOT 5 CLOSED

thedrow avatar thedrow commented on May 19, 2024
Integrate with Factory Boy

from faker.

Comments (5)

joke2k avatar joke2k commented on May 19, 2024

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?

from faker.

fgimian avatar fgimian commented on May 19, 2024

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

from faker.

fcurella avatar fcurella commented on May 19, 2024

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

On Fri, Mar 28, 2014 at 7:40 AM, Fotis Gimian [email protected]:

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
.

from faker.

fcurella avatar fcurella commented on May 19, 2024

closed in 57ecb38

from faker.

fgimian avatar fgimian commented on May 19, 2024

Great stuff, thanks heaps!! 😄

from faker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.