-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Database Caching #42
Comments
@rdohms that is a series of tricky questions. When altering your schema, you already have to clear your cache, so this already invalidates the first answer. That's why I consider that we have no plans to support any of them because of its complexity. It's just better to remove your cache/test folder and run again. With a few tweaks ( http://kriswallsmith.net/post/27979797907/get-fast-an-easy-symfony2-phpunit-optimization ), you can already speed up consecutive executions without the burden of initializing the container over and over in your test suite. |
Well, to me the most straight-forward solution would be to also take the latest modified time of the fixture files into consideration. That would immediately trigger a build when you make a change in the fixture file, right? |
The timestamp idea has been used in liip functional test bundle (and elsewhere). |
@guilhermeblanco told me you are working on the functional side of things, but i just want to ask a few questions so that i can find temporary fixes to allow us to use them for now.
The one problem I see now is that the DB caching only takes into consideration one thing: the md5 of the list of fixtures, it does not invalidate cache based on schema changes or on changes inside the fixtures.
What are the plans or ideas towards fixing this? will it rely on the fixture bundle or something undocumented yet?
The text was updated successfully, but these errors were encountered: