dimanche 2 octobre 2016

Symfony2 phpunit run tests on different environment

I'm testing email sending in my symfony2 application, I have custom environment that is properly set with email settings and it's able to actually sent emails. I've created environment test_emails and I want to run my phpunit tests with it.

phpunit doesn't seem to have this functionality, so my only option is probably create custom bootstrap file, but I can't find anywhere how to do it.

Aucun commentaire:

Enregistrer un commentaire