Re:Show HN: Neosync – Open-Source Data Anonymization for Pos...
by blopker on Wednesday May 22, 2024 @03:33PM
(#40445282)
This is somewhat framework dependent, but factory_boy supports connecting factories together via SubFactory. There's a real-world example I'm building [0]. See where "author = SubFactory(UserFactory)". I'd imagine there are similar ways to do this for Rails and others too.
[0]: https://github.com/totem-technologies/totem-server/blob/main...