-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Enable result cache by default #3244
Comments
shall we also change order execution to |
Makes sense. |
@epdenouden I started to work on this in 36ed9fe. One thing I noticed that if I run PHPUnit's own test suite with We probably have to disable the cache for all test suites executed by PHPUnit's own test suite. |
@sebastianbergmann Yes, unfortunately that is a known issue with (some of?) the PHPT tests. I have never looked that up in detail, however I am aware of it. The saving grace for PHPUnit's own test suite is that it overwrites the other caches at the end. I think at some point there was a development version that looked at the
In newer tests I actively work around the issue by explicitly copying the cache to a temporary file somewhere else and deleting it afterwards. This works really well; example:
I am not sure what the best solution is that works in all cases, honestly. Wish I had a better answer for you already :-( |
No description provided.
The text was updated successfully, but these errors were encountered: