Step 2: Convert automated tests to Drupal 8
Last updated on
15 October 2016
Note: If the module does not have an automated test suite, skip to step 3.
This page is still under development.
-
Convert your test classes to PSR-4
https://drupal.org/node/1543796
https://drupal.org/node/1320394 -
Add
WebTestBase::$moduleshttps://drupal.org/node/1710766
https://drupal.org/node/1911318 -
Convert
getInfo()to PHPDochttps://www.drupal.org/node/2301125
https://www.drupal.org/node/2012184 -
Run your test suite
You can use the new search field to find your module's tests on the page.
Help improve this page
Page status: No known problems
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion