zenstruck / foundry

A model factory library for creating expressive, auto-completable, on-demand dev/test fixtures with Symfony and Doctrine.
https://symfony.com/bundles/ZenstruckFoundryBundle/current/index.html
MIT License
608 stars 63 forks source link

feat/in memory behavior #590

Open nikophil opened 2 months ago

nikophil commented 2 months ago

Here is a first draft for "in memory" behavior

see https://github.com/zenstruck/foundry/issues/533

This still needs a bit of polish, and some thinking on how is the best way to achieve this :smile:

NB: In a follow up PR, I'll introduce InMemoryRepositoryDecorator, so it will be easier to make assertions