Proposed Session

Automated Testing on Drupal: Methods & Tools

Speaker(s)
Nuwantha WANASINGHE (NuWans), Cédric PORTE
Proposed Track(s)
Automated testing & Quality Assurance
Level of expertise
Beginner
Session Type
Regular (45 min)

The purpose of this session is to demystify the use of automated testing systems for both unit and functional tests. We will demonstrate how important yet relatively easy to implement the practice (even though we will not attempt to teach you how to develop and write tests). We will present an overview of different testing methods and compare manual, automated and semi-automated tests along with their respective Pros and Cons.  

Testing options and tools:

  • Manuel testing  
  • Drupal Testing Framework (Unit, Functional, JS and Kernel) with PhpUnit and Behat/Mink. (Different between each method, best practice, pros & cons) 
  • Tests for Drupal modules and patches 
  • Behaviour test / Functional tests frameworks 
  • Cucumber and Gherkin syntax. 
  • Semi-automated testing systems. 

What they’re doing ? 
Best practices for the technical implementation of a testing framework.  

In short: 
It is important yet feasible to implement a good Drupal testing practice and save time, while reducing regressions and site downs.