mathieu-ducrot / liip-load-fixture-files-test

Test environment for the loadFixtureFiles from the LiipFunctionalTestBundle
1 stars 0 forks source link

Alternate loading fixture technique #6

Open mathieu-ducrot opened 4 years ago

mathieu-ducrot commented 4 years ago

Goal

Use other method to load the yml fixture.

Descritpion

Use loadFixtures instead of loadFixtureFiles to call the Loader from DoctrineFixturesBundle.

The setUp phase must purge the database and we must have the possibility to append fixture (without purging) per test.

Also try exploring the liip/test-fixtures-bundle on more recent alice stack

mathieu-ducrot commented 4 years ago

https://medium.com/@dkarlovi/testing-your-symfony-application-on-production-a143483768c9

mathieu-ducrot commented 4 years ago

Important info when trying to use liip/test-fixtures-bundle insted of liip/functional-test-bundle and update alice dependencies :