Drupal Code Sprint: Quality Assurance and Testing
April 19th, 2010 by Blue Tent Marketing
Today is T minus zero, if that is the right phrase, for DrupalCon San Francisco. Tomorrow the flurry of sessions start, but today we had some time to either "code sprint" (work on issues collaboratively, learning from each other) or participate in all-day focused training sessions. The bulk of my day today was spent in learning how to implement simpletests, and in the process helped adjust the simpletest tutorial for Drupal 7.
My QA and Simpletest notes
- The simpletest handbook is the place to get started with simpletest
- The examples module includes a simpletest example
- drupal 6 requires a module (simpletest) and a small patch to core
- drupal 7 has simpletest built in. (Use the latest dev of Drupal 7 core to avoid an error you might see in alpha-7.)
- "simpletest clone" module (D6) for testing a copy of a live site
More resources
- These issues still need tests to be written before they should be committed.
- If you maintain a project on drupal.org, write tests for your module and request that your module is added to this list of tested modules. As a result, drupal.org's automated testing framework will test your module.
Automated testing on copies of live sites
- Staging test cases enables testing live or staged sites directly, without replicating the site or database.
- Testing copies of established or live sites, ensuring that proposed changes will not break existing functionality.
-- David Lanier
Director of Web Development

Add new comment