Up and running with Drupal's testing suites (morning)

Drupal Camp Asheville 2021 Online Edition - July 8th-9th

When & Where

Room
Other
Start Time
July 8, 2021 - 8:00 am EDT

Topics

Speaker

Speaker
Matt Glaman
Matt Glaman headshot

Training Description

In this training, attendees will learn how to run Drupal's PHPUnit and Nightwatch.js tests on their own machine – directly on their machine, with DDEV, or with Lando!

We will cover:

  • Configuration to run the tests and setting up Chromedriver
  • Understanding the difference between the PHPUnit test suites: Unit, Kernel, Functional, FunctionalJavascript
  • Getting to know Nightwatch.js and when to use it
  • Writing PHPUnit tests
  • Writing Nightwatch.js tests

Who is your ideal audience member, the person who would get the most out of your training?

Audience members would be comfortable writing code and running Drupal locally, and ready to be amazed by the efficiency they unblock by leveraging tests!

What do you expect people to be able to take away from your training?

Attendees will walk away knowing how to run Drupal's test suites to add test coverage to their code, or to contribute tests to Drupal.

How much and what kind of technical knowledge do people need going in to your training?

  • Able to run a Drupal site locally
  • Comfortable with the command line
  • Comfortable writing PHP code
  • Slightly comfortable with JavaScript (for Nightwatch.js)