-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
Description
The cache of the bundled Symfony Application is not cleared in between executions of the PHPUnit test suite. This sometimes causes false positives on test failures (particularly when modifying code that affects Dependency Injection).
Clearing and warming up the Symfony cache is, however, very slow so we should avoid doing this is a setUp() or setUpBeforeClass(). The best option would be if it could be done once per execution of the phpunit.
A potential solution could be to define our own autoloading file that first calls the composer autoloader and then does the cache clear. A console entrypoint has already been added to help with this
Reactions are currently unavailable