Reputation: 7553
I found only a few lines about database functional testing in the documentation: http://symfony.com/doc/current/cookbook/testing/database.html
The problem is:
dev
database to test
database before testing.It's not described in the documentation. How can I do it using symfony?
Upvotes: 2
Views: 381
Reputation: 31005
I use this command to do same job :
In console line :
doctrine:database:create --env=test
doctrine:schema:create --env=test
doctrine:fixture:load --env=test
Upvotes: 2