Problem/Motivation

This issue is meant to be a plan issue to plan potential hard to convert tests.
This issue will identify hard tests areas, categorize them, and propose potential solutions for converting them.

Proposed resolution

Remaining tasks

* TODO the research
* Propose solutions

List of tests

  • \Drupal\system\Tests\Update\UpdatePathTestBase: TODO fill issue
  • \Drupal\simpletest\InstallerTestBase: TODO fill issue
  • \Drupal\rest\Tests\RESTTestBase As they use guzzle it could be really easy
  • \Drupal\system\Tests\Module\ModuleTestBase:
    • \Drupal\system\Tests\Module\InstallUninstallTest Let's wish us the best luck
    • \Drupal\config\Tests\ConfigImportAllTest Good luck as well
  • \Drupal\content_translation\Tests\ContentTranslationTestBase This uses straightforward FAPI, so it should be less of a problem
  • \Drupal\system\Tests\System\ErrorHandlerTest That's a super tricky test

User interface changes

API changes

Data model changes

Comments

dawehner created an issue. See original summary.

dawehner’s picture

Issue summary: View changes
larowlan’s picture

FWIW our first attempt to replace the simpletest browser with Mink, we went with a hail-mary approach and tried to remove all simpletest in one go.

We got down to ~300 fails. You can see those here https://www.drupal.org/node/2274167#comment-8909093

Those would be a good spot to start scratching.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.0-alpha1 will be released the week of January 30, 2017, which means new developments and disruptive changes should now be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.0-alpha1 will be released the week of July 31, 2017, which means new developments and disruptive changes should now be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.0-alpha1 will be released the week of January 17, 2018, which means new developments and disruptive changes should now be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.6.x-dev » 8.7.x-dev

Drupal 8.6.0-alpha1 will be released the week of July 16, 2018, which means new developments and disruptive changes should now be targeted against the 8.7.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

lendude’s picture

Status: Active » Closed (outdated)
Issue tags: +phpunit initiative

We didn't need no plans, we just went ahead and did it!
The PHPUnit initiative, controlled chaos at its finest :D