Automated testing

Introduction

Drupal comes with various automated testing options to choose from. Most of which are part of the core testing framework. The enriched functionalities and UI are provided by the new testing framework, PHPUnit. Testing can be done in different layers in order to confirm the quality and reaction of code on edge cases:

  1. Unit tests
  2. Kernel tests
  3. Functional tests

It is also possible to use an external framework like Behat with scenarios in Gherkin syntax.

Guide maintainers

vijaycs85's picture
Peter Majmesku's picture
Francewhoa's picture
TylerMarshall's picture