interactive-solutions / zf-behat

A utility module for behat testing of zf applications
0 stars 0 forks source link

Clear doctrine cache and generate proxies on start up #2

Open macnibblet opened 8 years ago

macnibblet commented 8 years ago

In the bootstrapping, we should clear all previous caches and regenerate the proxies to avoid errors related to doctrine metadata stuck in the redis cache.

noggan commented 8 years ago

Are we even using the cache when running tests? Although I guess you could just update the Given a clean database step to include that code.

macnibblet commented 8 years ago

We should be since it's replicating a real world environment, and added bonus, it's a lot faster.