Loading...
DrupalDay - Testing and CI in Drupal 8
https://2017.drupalday.es/sesion/testing-en-drupal-8
Tasks
Fork the demo module and set it up locally
https://github.com/juampynr/d8cidemo
Run PHPUnit tests in custom modules
https://github.com/juampynr/d8cidemo#unit-and-kernel-tests
Run Behat tests
https://github.com/juampynr/d8cidemo#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
Please turn on JavaScript to use Paper in all of its awesomeness. ^_^
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