Last updated May 16, 2019

Simpletest has been marked as deprecated and will be removed before Drupal 9 is released. If you have Simpletests in your code base that extend WebTestBase it's a good idea to update them to use PHPUnit's BrowserTestBase class instead. This will ensure your tests don't depend on a deprecated testing framework. By the end of this tutorial, you should be able to convert WebTestBase-based Simpletests to use PHPUnit's BrowserTestBase class instead.