Simpletest for Test-Driven Module & Feature Development

Track: 
Coder
Experience: 
Intermediate

Users with some knowledge of Simpletest will learn how to integrate it into their module- and Feature-development workflow; the basics of Test-Driven Development (TDD) and how to start using it right away on Drupal projects; in which cases can simpletest and TDD save on development and maintenance time; how to test a module's interaction with other Drupal modules; how to use macro-recording tools to create tests more efficiently; how to test a site's functionality as opposed to individual modules and Features. We'll also look at using simpletest with drush.

This session can either exist on its own (in which case an introduction to Simpletest will be given); I would also be glad to join forces with another Simpletest session such as Kars-T's proposed session; another possibility would be to have a completely separate session from the introductory session.

Intended audience: 

Module and Feature developers who would like to fully integrate Simpletest into their development workflow for better efficiency and reliability.

Questions answered by this session
Question 1: 
What is Test-Driven Development (TDD) and how does it apply to module and Feature development in Drupal?
Question 2: 
In which cases can simpletest and TDD save on development and maintenance time?
Question 3: 
How do I test my module's interaction with other Drupal modules?
Question 4: 
How can I use Selenium-IDE and macro recording to create tests more efficiently?
Question 5: 
How can I test my live site's functionality as opposed to individual modules and Features?
3.73913
Your rating: None Average: 3.7 (23 votes)

Comments

Here's a video of a talk I

Here's a video of a Simpletest talk I gave at the latest Montreal Drupal Camp. It's mostly in French but is partly in English. It covers some of same topics I plan to cover in Chicago, and is more basic.

Diamond Sponsors

 
Palantir.net
VPS NET

Platinum sponsors

 
Trellon
workhabit

Gold Sponsors

 
Drupal Connect
HotDrupal.com
Chapter Three
Microsoft
Duo
Treehouse Agency
NorthPoint