Automated testing for Drupal projects

Tests make change safer: before updates reach the public platform, we check critical user flows, business rules and code quality.

Playwright tests

Playwright is well suited for browser-based checks: forms, checkout flows, login, languages and mobile views.

Official Playwright guide

PHPUnit and Drupal tests

Drupal supports PHPUnit tests at different levels: unit, kernel, functional and functional JavaScript tests. We size the test set according to project risk.

Drupal test types

Static analysis

PHPStan and coding standard checks catch part of the problem before opening the website. This is especially useful in larger legacy projects.

PHPStan guide

Practical first step

A useful first set can be small: homepage opens, contact works, key forms submit and critical links are not broken.

PHPUnit in Drupal

Next step: describe the platform — Drupal version, which workflows need to be tested and whether a test environment exists.

Fill in the contact form