home.social

#factorybot — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #factorybot, aggregated by home.social.

  1. In a way, I'm glad I let my #RSpec book grow stale for as long as I did. It’s enlightening to reflect on coding/testing habits I had 5+ years ago vs. now.

    I'm making updates accordingly—breaking up larger chapters/concepts into shorter, simpler takes. Reordering content so readers can be productive in their own codebases sooner.

    Anyway, next batch of updates coming this week, I hope, with some streamlined advice on getting started with #FactoryBot. Stay tuned, friends! leanpub.com/everydayrailsrspec

  2. In a way, I'm glad I let my #RSpec book grow stale for as long as I did. It’s enlightening to reflect on coding/testing habits I had 5+ years ago vs. now.

    I'm making updates accordingly—breaking up larger chapters/concepts into shorter, simpler takes. Reordering content so readers can be productive in their own codebases sooner.

    Anyway, next batch of updates coming this week, I hope, with some streamlined advice on getting started with #FactoryBot. Stay tuned, friends! leanpub.com/everydayrailsrspec

  3. In a way, I'm glad I let my #RSpec book grow stale for as long as I did. It’s enlightening to reflect on coding/testing habits I had 5+ years ago vs. now.

    I'm making updates accordingly—breaking up larger chapters/concepts into shorter, simpler takes. Reordering content so readers can be productive in their own codebases sooner.

    Anyway, next batch of updates coming this week, I hope, with some streamlined advice on getting started with #FactoryBot. Stay tuned, friends! leanpub.com/everydayrailsrspec

  4. In a way, I'm glad I let my #RSpec book grow stale for as long as I did. It’s enlightening to reflect on coding/testing habits I had 5+ years ago vs. now.

    I'm making updates accordingly—breaking up larger chapters/concepts into shorter, simpler takes. Reordering content so readers can be productive in their own codebases sooner.

    Anyway, next batch of updates coming this week, I hope, with some streamlined advice on getting started with #FactoryBot. Stay tuned, friends! leanpub.com/everydayrailsrspec

  5. In a way, I'm glad I let my #RSpec book grow stale for as long as I did. It’s enlightening to reflect on coding/testing habits I had 5+ years ago vs. now.

    I'm making updates accordingly—breaking up larger chapters/concepts into shorter, simpler takes. Reordering content so readers can be productive in their own codebases sooner.

    Anyway, next batch of updates coming this week, I hope, with some streamlined advice on getting started with #FactoryBot. Stay tuned, friends! leanpub.com/everydayrailsrspec

  6. I was surprised to find our FactoryBot factory files being loaded in development environment. Turns out to be because we include the factory_bot_rails gem in the development group, so we can use the rails generators it provides.

    The factory_bot_rails Readme mentions how to stop factories being autoloaded in development environment: github.com/thoughtbot/factory_ #rails #factorybot

  7. I was surprised to find our FactoryBot factory files being loaded in development environment. Turns out to be because we include the factory_bot_rails gem in the development group, so we can use the rails generators it provides.

    The factory_bot_rails Readme mentions how to stop factories being autoloaded in development environment: github.com/thoughtbot/factory_ #rails #factorybot

  8. I was surprised to find our FactoryBot factory files being loaded in development environment. Turns out to be because we include the factory_bot_rails gem in the development group, so we can use the rails generators it provides.

    The factory_bot_rails Readme mentions how to stop factories being autoloaded in development environment: github.com/thoughtbot/factory_ #rails #factorybot

  9. I was surprised to find our FactoryBot factory files being loaded in development environment. Turns out to be because we include the factory_bot_rails gem in the development group, so we can use the rails generators it provides.

    The factory_bot_rails Readme mentions how to stop factories being autoloaded in development environment: github.com/thoughtbot/factory_ #rails #factorybot

  10. I was surprised to find our FactoryBot factory files being loaded in development environment. Turns out to be because we include the factory_bot_rails gem in the development group, so we can use the rails generators it provides.

    The factory_bot_rails Readme mentions how to stop factories being autoloaded in development environment: github.com/thoughtbot/factory_ #rails #factorybot

  11. @searls has a free-as-in-puppy open source opportunity for the person who can give it a good home. We Rate Dogs would give test_data an 11/10: unique personality, super fast, and this Ruby gem gets along well with everyone.

    Consider it a reference implementation for a pattern that every web application framework should consider adopting. If that sounds intriguing maybe you're the one who should adopt test_data 🐶
    link.testdouble.com/new-ruby-t
    #Ruby #Rails #FactoryBot #Factories #Fixtures

  12. @searls has a free-as-in-puppy open source opportunity for the person who can give it a good home. We Rate Dogs would give test_data an 11/10: unique personality, super fast, and this Ruby gem gets along well with everyone.

    Consider it a reference implementation for a pattern that every web application framework should consider adopting. If that sounds intriguing maybe you're the one who should adopt test_data 🐶
    link.testdouble.com/new-ruby-t
    #Ruby #Rails #FactoryBot #Factories #Fixtures

  13. @searls has a free-as-in-puppy open source opportunity for the person who can give it a good home. We Rate Dogs would give test_data an 11/10: unique personality, super fast, and this Ruby gem gets along well with everyone.

    Consider it a reference implementation for a pattern that every web application framework should consider adopting. If that sounds intriguing maybe you're the one who should adopt test_data 🐶
    link.testdouble.com/new-ruby-t
    #Ruby #Rails #FactoryBot #Factories #Fixtures

  14. @searls has a free-as-in-puppy open source opportunity for the person who can give it a good home. We Rate Dogs would give test_data an 11/10: unique personality, super fast, and this Ruby gem gets along well with everyone.

    Consider it a reference implementation for a pattern that every web application framework should consider adopting. If that sounds intriguing maybe you're the one who should adopt test_data 🐶
    link.testdouble.com/new-ruby-t
    #Ruby #Rails #FactoryBot #Factories #Fixtures

  15. @searls has a free-as-in-puppy open source opportunity for the person who can give it a good home. We Rate Dogs would give test_data an 11/10: unique personality, super fast, and this Ruby gem gets along well with everyone.

    Consider it a reference implementation for a pattern that every web application framework should consider adopting. If that sounds intriguing maybe you're the one who should adopt test_data 🐶
    link.testdouble.com/new-ruby-t
    #Ruby #Rails #FactoryBot #Factories #Fixtures

  16. I never liked the attributes_for helper from #FactoryBot but today in a #requestspec I finally saw an example that it made a test green / not-flaky even though it shouldn't 🤓 🤨

  17. I never liked the attributes_for helper from #FactoryBot but today in a #requestspec I finally saw an example that it made a test green / not-flaky even though it shouldn't 🤓 🤨