DEV Community

Discussion on: Using Fixtures In Testing Symfony Application

nicohaase profile image
Nico Haase

Keep in mind that loading fixtures within the test is a huge performance bottleneck. If all tests share the same set of fixtures, its way easier to load them before the first test and use something like dama/doctrine-test-bundle that starts a transaction before each test and rolls it back afterwards