Automated tests do not need to start big
Testing does not have to cover the whole system from day one. A small set that checks the most important workflows often gives the highest value.
A useful first test set
- the homepage and key content pages open;
- the contact form or request path works;
- mobile view does not create horizontal scrolling;
- important external links are not broken;
- a critical admin or client workflow can be completed.
Playwright and PHP tests support each other
Playwright checks what the user actually does in the browser. PHP and Drupal tests are better for business rules, form logic, services and the internal behaviour of custom development.
Keep tests useful
Tests must stay short enough to be run in real work. If a test set becomes slow or unstable, teams start avoiding it. That is why the first tests should cover places where breakage would be expensive.
If you want help setting up a first test suite or reviewing an existing testing approach, see our automated testing service or audit and testing page.
Kaido Toomingas
WebPro Company OÜ
Need Drupal help?
If the article describes your situation, you do not have to read everything first. A real person will help you choose the next step.