In WebTestBase::setUp():
// By default, verbosely display all errors and disable all production
// environment optimizations for all tests to avoid needless overhead and
// ensure a sane default experience for test authors.
// @see https://drupal.org/node/2259167
$config->getEditable('system.logging')
->set('error_level', 'verbose')
->save();
$config->getEditable('system.performance')
->set('css.preprocess', FALSE)
->set('js.preprocess', FALSE)
->save();
But #606840: Enable internal page cache by default resulted in page caching being turned on for tests, not just on real sites.
This seems inconsistent. Should we change that - and if so, in what direction? (Obviously there is no good answer because in an ideal world everything would be tested both with and without caching turned on.)
Comments
Comment #1
David_Rothstein commentedWell that was a confusing typo in the issue title...
Comment #2
webchickNice catch. Tagging.
Comment #11
quietone commentedTriaging issues in simpletest.module as part of the Bug Smash Initiative to determine if they should be in the Simpletest Project or core.
This looks like it a Phpunit issue, changing component.
Comment #15
danielvezaConfirming that this issue is still valid, the CSS and JS preproccessing is being turned off in \Drupal\Core\Test\FunctionalTestSetupTrait::initConfig.
I suppose we just need a decision on if this is still what we want or if we want this on by default
Comment #16
danielveza