Organize Test Files for Drupal 8, Drupal 9, and Drupal 10

Last updated March 29, 2022
Module Development9.5.x/10.0.x

In order for Drupal to be able to locate and run the tests you create, the files need to be put in the correct place. In this tutorial, we'll take a look at the different types of test frameworks that are included along with core. We'll also see how Drupal expects our test files to be organized so that the test runners can find them.