11.0.x

Write a Kernel Test

Last updated

Write a Functional Test

Last updated

Configure Your Environment to Run Tests

Last updated

Concept: Testing

Last updated

Testing ensures that code remains reliable and functional. This tutorial introduces the primary types of tests in Drupal: Unit, Kernel, Functional, and FunctionalJavascript -- all executed via PHPUnit. We'll clarify the differences between each type of test and appropriate use cases. As module developers, understanding what to test and how to write tests is vital for robust and maintainable code.

In this tutorial, we'll:

Locate and Identify Existing Services

Last updated

Concept: Creating Custom Services

Last updated

Define a New Permission

Last updated

Concept: Permissions

Last updated

Concept: Menu Items and Links

Last updated

Concept: Internationalization (i18n)

Last updated