---
url: 'https://metadrop.net/en/events/drupalcamp-2024-testing-everything-beyond-phpunit'
title: 'Testing everything: beyond PHPUnit'
author:
  name: 'Ricardo Sanz'
  url: 'https://metadrop.net/es/sobre/ricardo-sanz'
date: '2024-10-10T11:14:00+00:00'
updated: '2026-06-10T11:40:40+00:00'
type: article
summary: |-
  During project development and maintenance, tests are used to ensure that a project works according to the established requirements. These tests usually focus on unit tests and browser tests.
  While this is a very good practice (and less common than it should be), there are many other tests, checks and safety nets that can be used to improve the quality and robustness of the project. This session will introduce other types of tests that can be added to a project to improve its reliability, such as:
tags:
  - Testing
  - DrupalCamp
image: 'https://metadrop.net/sites/default/files/styles/full/public/2024-10/IMG_20241028_200317_433~2.jpg.webp?h=4233ef75&itok=7PTTKolP'
published: true
og:
  determiner: Automatic
  site_name: Metadrop
  street_address: 'Calle Manuel Luna, 12, 3 Dcha'
  locality: Madrid
  region: Madrid
  postal_code: '28020'
  country_name: España
  email: hola@metadrop.net
  phone_number: '910053180'
schema:
  '@context': 'https://schema.org'
  '@graph':
    -
      '@type': Event
      url: 'https://metadrop.net/en/events/drupalcamp-2024-testing-everything-beyond-phpunit'
      name: 'Testing everything: beyond PHPUnit'
      description: |-
        During project development and maintenance, tests are used to ensure that a project works according to the established requirements. These tests usually focus on unit tests and browser tests.
        While this is a very good practice (and less common than it should be), there are many other tests, checks and safety nets that can be used to improve the quality and robustness of the project. This session will introduce other types of tests that can be added to a project to improve its reliability, such as:
      eventAttendanceMode: Offline
      image:
        '@type': ImageObject
        url: 'https://metadrop.net/sites/default/files/styles/full/public/2024-10/IMG_20241028_200317_433~2.jpg.webp?h=4233ef75&itok=7PTTKolP'
      startDate: '2024-10-25'
      endDate: '2024-10-25'
      location:
        '@type': Place
        name: 'Place                      Country                Spain                      Country                Spain'
        address:
          '@type': PostalAddress
          addressLocality: 'Place                      Country                Spain                      Country                Spain'
          addressCountry: 'Place                      Country                Spain                      Country                Spain'
      performer:
        '@type': Organization
        name: DrupalCamp
      organizer:
        '@type': Organization
        name: DrupalCamp
    -
      '@type': Organization
      '@id': 'https://metadrop.net/#organization'
      url: 'https://metadrop.net/'
      name: Metadrop
      sameAs:
        - 'https://www.drupal.org/metadrop'
        - 'https://twitter.com/metadrop'
        - 'https://asociaciondrupal.es/partner/metadrop'
        - 'https://www.linkedin.com/company/metadrop'
      logo:
        '@type': ImageObject
        url: 'https://metadrop.net/themes/custom/mdrop_radix/logo-metadrop-500-500.jpg'
        width: '500'
        height: '500'
    -
      '@type': ItemPage
      '@id': 'https://metadrop.net/en/events/drupalcamp-2024-testing-everything-beyond-phpunit'
      breadcrumb:
        '@type': BreadcrumbList
        itemListElement:
          -
            '@type': ListItem
            position: 1
            name: Home
            item: 'https://metadrop.net/en'
          -
            '@type': ListItem
            position: 2
            name: Events
            item: 'https://metadrop.net/en/events'
      publisher:
        '@type': Organization
        '@id': 'https://metadrop.net/#organization'
---
 1. [Events](https://metadrop.net/en/events)
 
 # Testing everything: beyond PHPUnit

DrupalCamp

 Spain 

 

Friday, October 25, 2024

 [DrupalCamp Benidorm 2024 schedule](https://2024.drupalcamp.es/en/schedule)[Slides (in Spanish only)](https://rsanzante.github.io/testandolo-todo-testing-mas-alla-phpunit/) 

 

 

 



 



During project development and maintenance, tests are used to ensure that a project works according to the established requirements. These tests usually focus on unit tests and browser tests.

While this is a very good practice (and less common than it should be), there are many other tests, checks and safety nets that can be used to improve the quality and robustness of the project. This session will introduce other types of tests that can be added to a project to improve its reliability, such as:

- Visual regression testing
- Accessibility testing
- Performance, quality and correctness testing
- API testing (in-house and external)
- Static analysis (code, linters, Drupal way, etc.)
- Smoke testing
- And more!

Over more than a decade of developing Drupal sites, we have accumulated a lot of experience testing sites. We would like to share our knowledge of these techniques to improve the quality of Drupal projects in a way that does not put a huge additional burden on the development itself. Tests should be easy to implement and maintain, helping the development team to detect any bugs long before they reach the site visitors, without requiring excessive effort and without being a burden to maintain, leading to abandonment.

Attendees will learn about several different types of tests that can be implemented in a Drupal project, as well as some tips on how to apply them to ensure quality and early bug detection. The idea is to go beyond theory, so examples and tools on how to implement these tests will be provided.



Speakers

 

 



Ricardo Sanz

CTO