Back to top

QA in Drupal 8

Speakers
Session type
Session
Level
Advanced
Track
Development
Description

Drupal 8 core comes with more than 62,000 automated tests. This session we will dive deep into different types of testing available out-of-box. We also understand the behat world components and how can it be integrate with Drupal 8.

Session overview: 

1. Introduction (What/Why/How)

2. Types of testing

   a. Unit

   b. Kernel

   c. Functional

   d. Functional Javascript

3. Drupal core testing architecture

4. Behat
a. Overview
b. Integration
c. Sample extension:
i. Behat for Contact module: https://github.com/vijaycs85/drupal-core-extension
ii. Behat with sitemap.xml: https://github.com/vijaycs85/sitemapextension

5. Code quality checker: https://github.com/vijaycs85/drupal-quality-checker

6. Lessons learned