Symfony2 Zombie Behat Pitfalls

While setting up node and zombie for my first time in ubuntu I ran into problems while installing node. I resolved my problems removing via apt-get node and then installing via git and checking out the stable version which is told us in the webpage for node. The instructions for compiling and for removing also were found here. After that I was able to finish this behat guide which is a good guide teaching some more stuff on doctrine for the steps and also some nice trick with the environment variable for environment dependable database selection.

// configuration
dbname:   %database_name%_%kernel.environment%
// cli sets the environment to test
... -e=test

And this other trick removing entity entries:

$this->getEntityManager()->remove($eachEntity);

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>