Introduction to simpletest

Track: 
Coder
Experience: 
Intermediate

With the introduction of simpletest the drupal landscape did change a lot. Today nearly every change to the D7 Core is demanded to be tested. As a result we got a core that is more reliable than ever before.

But many devs still don't know much about it. My first core patch was a pain. And as it seemed to be over I was demanded to write a test and nearly quit. But it was suprisingly easy to write and took me to a higher level.

Let me help you and give you an introduction how you can provide tests and make all your work more reliable.

Intended audience: 

Drupal Module Devs that have none or low experience with simpletest

Questions answered by this session
Question 1: 
How to create tests for my patches and modules?
Question 2: 
What can be tested? What can't?
Question 3: 
How to organise my tests?
Question 4: 
Where can I find help and information about simpletest?
Question 5: 
How can I increase the speed of tests in D7?
4.190475
Your rating: None Average: 4.2 (21 votes)

Comments

Two simpletest sessions, hopefully

I've submitted a simpletest-themed session. I've presented it in a way as to complement and build upon your session, not be a replacement. Hopefully both will selected and we'll be able to cooperate. I personally think Simpletest is so great as to merit two (or more) sessions!

Cheers,

Albert.

Diamond Sponsors

 
VPS NET
Palantir.net

Platinum sponsors

 
workhabit
Trellon

Gold Sponsors

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