Skip to main content

Testing everything: beyond PHPUnit

DrupalCamp
Alicante, Spain
Ricardo Sanz en el estado hablando junto a una pantalla con la diapositiva de presentación de la charla "Testeándolo todo: testing más allá de 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 Ante

Ricardo Sanz

CTO

Training courses

Face-to-face and online training for development and product teams.