Unit Testing w/ PHP

RoloDMonkey

Behat and Selenium are very exciting, but traditional unit testing can still be very useful in Drupal development.

What is unit testing? Put simply, the "unit" in unit testing means that the tests should test the smallest functional units, like functions or methods.

This session will, at the minimum:

  • Introduce unit testing frameworks
  • Demonstrate set-up
  • Go through examples of unit tests
  • Show how to run tests and read results

Session Track

PHP

Experience Level

Intermediate

Drupal Version