Hey everyone :wave: While working at different pl...
# library-development
k
Hey everyone πŸ‘‹ While working at different places on different projects its always been interesting how developers choose to go about creating models for unit tests. I've seen some projects redundantly create new models for each and every test, and some projects create factories, with static models that they then use everywhere. Long story short, at work we wanted to clean up some of these tests so two of us started working on a library that would automat this for us and generate random models with actual data. The fruits of our labor can be found below πŸ€“ We have been using it in production for about 6 months now πŸš€ We would be eternally grateful for any feedback you might have πŸ™ and to see wether it potentially fits your use cases as well. Please take a look, try it out and let us know what you think πŸ™Œ Collaboration welcome πŸ‘©β€πŸ’» πŸ‘¨β€πŸ’» https://github.com/HelloCuriosity/model-forge
πŸ‘€ 1
c
i wrote a similar library some time ago: https://github.com/christophsturm/randolf