Unit Testing is fun in Drupal!

Session Track
CI/CD & QA Automation
Skill level

Testing is a vital part of the success of any software. Though it is often considered as an extra work that slows down the progress of the software. In this session, we will take a step back and discover the worthy features of Unit Testing in Drupal 8 and understand PHPUnit and concepts.

This session will talk about:

- Assertions

- Benefits of PHPUnit over SimpleTests

- Mocking in Unit Tests in Drupal

- A live implementation of unit test in a Drupal 8 module.