DrupalDay - Testing and CI in Drupal 8

Tasks

Fork the demo module and set it up locally

Run PHPUnit tests in custom modules

Run Behat tests

Install XDebug and generate an HTML coverage report

Add a Unit test to a custom project


Add a Kernel test to a custom project


Add a Behat test to a custom project


Run unit tests in CircleCI for a custom project


Run kernel tests in CircleCI for a custom project


Run Behat tests in CircleCI for a custom project


Generate a PHPUnit coverage report in CircleCI for a custom project


Set a breakpoint and debug a PHPUnit test


Set a breakpoint and debug a Behat test