- Major bugs like are impossible to reproduce, since Simpletest uses an entirely different installation routine for Drupal.
- The (non-interactive) Drupal installer is not tested at all.
- Improve Drupal core's test coverage and reduce/eliminate differences between a site installed via Simpletest vs. manual installation.
- Originally, this was done for performance reasons. Which means that we implemented performance optimizations into the custom Simpletest installation routine, instead of improving the performance of the non-interactive installer.
- The Drupal installer got heavily improved meanwhile. It supports a
non-interactiveflag now, which shortcuts most installation steps.
- Instead of a different, custom installation procedure,
WebTestBase::setUp()should just call the non-interactive installer.
WebTestBase::setUp()'s installation routine with the regular, non-interactive Drupal installer.
Dependencies / spin-offs
Changes in this patch, which should be backported:
- — The interactive installer cannot be tested currently, because the installer contains an explicit check for the HTTP user agent and denies further execution on a positive match. This happens for security reasons, because anyone would be able to install unlimited numbers of testing sites on all production sites on the net. That's a very complex topic on its own, so the discussion on the interactive installer should ideally stay on that issue.
PASSED: [[SimpleTest]]: [MySQL] 41,486 pass(es). View
PASSED: [[SimpleTest]]: [MySQL] 41,470 pass(es). View
PASSED: [[SimpleTest]]: [MySQL] 41,294 pass(es). View