doctrine / DoctrineFixturesBundle

Symfony integration for the doctrine/data-fixtures library
MIT License
2.45k stars 202 forks source link

How to load subset of registered fixtures? #313

Open havvg opened 4 years ago

havvg commented 4 years ago

Hi there,

I'm asking, just in case I missed something by reading the code. I setup fixtures being registered as services, so DI kicks in. This works.

However, within test cases, I want to actually load (as in being put into the storage) a subset of those fixtures. I cannot find a way to do this. Is this currently possible?