This page has support material for a session I gave at the 2013 Pacific Northwest Drupal Summit (PNWDS).
As it turns out, this session has also been accepted at BADCamp 2013: http://2013.badcamp.net/sessions/phpunit-and-drupal-8-no-unit-left-behind
Here's the link to the session page: http://2013.pnwdrupalsummit.org/sessions/phpunit-and-drupal-8-no-unit-left-behind
Documentation
- PHPUnit: http://phpunit.de/manual/3.7/en/index.html
- PHPUnit Test Doubles: http://phpunit.de/manual/3.7/en/test-doubles.html
- PHPUnit Assertions: http://phpunit.de/manual/3.7/en/appendixes.assertions.html
PHPUnit with Drupal 8 Info
- Changelog adding PHPUnit: https://drupal.org/node/2012184
- Drupal 8: https://drupal.org/node/3060/git-instructions/8.x
- PHPUnit Example (on github): https://github.com/paul-m/phpunit_example
- PHPUnit Example on Travis-CI: https://travis-ci.org/paul-m/phpunit_example
- PHPUnit Example (in the issue queue): https://drupal.org/node/2032697
Important PHPUnit/Drupal 8 Issues
Other Links
Attachment | Size |
---|---|
Slide deck from Pacific Northwest Drupal Summit, Oct 20131.58 MB | 1.58 MB |
Slide deck from BADCamp, Oct 2013135.64 KB | 135.64 KB |
Topics