Videos on this page:

  • Automated Testing Kit Recipe Tutorial Early 2025
  • Automated Testing Kit Introduction Early 2025
  • Setting up a Comprehensive Automated Testing Regime for Drupal using Cypress and Playwright

Automated Testing Kit Recipe Tutorial

Watch a walk-through of installing the Automated Testing Kit Demonstration module on a new Drupal site. There is written documentation, too. 

NOTE: Automated Testing Kit and the Demo Recipe have been updated for Drupal 11. When creating the project, use:

cd ~/Sites
mkdir pl-atk-d11-demo
cd pl-atk-d11-demo
ddev config --project-type=drupal --php-version=8.3 --docroot=web
ddev composer create drupal/recommended-project

Everything else in the video still applies. 

 

Automated Testing Kit Introduction

The video demonstrates Automated Testing Kit and Testor, suitable for viewing by people who are new to both. Here is what is included:

  • How end-to-end testing fits in the typical Drupal installation
  • Descriptions of Starter, Intermediate and Enterprise setups
  • Running tests on a developer machine targeting any server
  • Turning on testing with multiple browsers
  • Triggering tests with a PR on GitHub (can be applied to any CI/CD)
  • The many ways to run tests (locally, using your CI/CD system, test grids such as Testery/Sauce Labs/Lambda Test, etc.)
  • Sending test run results back to a test case management tool (in this case, Testiny)
  • How testor makes working with snapshots much easier
  • Resources to continue your learning
  • And, finally, how Performant Labs can help your ATK implementation and maintenance.

Setting up a Comprehensive Automated Testing Regime for Drupal using Cypress and Playwright

In this presentation given at Stanford's Web Camp, I review best practices for setting up a testing program using these modern tools.