Last updated October 22, 2018

In this tutorial, we'll run tests in several different ways using the PHPUnit tools available in Drupal 8. We'll learn about various environment variables you'll need to supply to the test runner depending on which type of test you're running. And we'll learn various ways to get reports on the test results. By the end of this tutorial, you should understand how to run Drupal tests using PHPUnit.