Pacific Northwest Drupal Summit 2012

All the drops gather here.
Seattle, October 20-21, 2012

Getting started with SimpleTest

Development and Code
Experience Level: 

Testing your code is important during development to ensure that requirements are being met while nothing broke unexpectedly. Unit tests for Drupal are written in SimpleTest. Running a test runs Drupal in a sandbox, installs modules, and performs functions such as creating a node. Anything that didn't work or threw an error will be reported so you know what to fix. Creating and using tests adds time for development, it will help keep code maintainable, especially for big projects with lots of developers.

We'll cover:

Overview of SimpleTest
Running tests
Creating tests