Session type: Standard (45 min)
Session level: Intermediate
Session language: English
Developing a module in Drupal 8? Write the tests first!

In this session I will try to explain how writing tests will not only validate your code, but will also help you write it: tests will help you organise and document your code in a better way and improve the overall developer experience.

I will illustrate this by going through the different tools Drupal 8 has to offer (Unit, Kernel, Browser and Javascript), applying each of them to real and specific scenarios of an example module called 'Connect Four'

Attendees can (but are not required to) clone the example module from https://github.com/nuez/connect_four.

Author bio
Freelance Drupal Developer