Implement Simpletest

ainigma32 - June 23, 2008 - 20:44
Project:Job Posting
Version:5.x-1.2
Component:Miscellaneous
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hi Greg,

I read the article on unit testing (http://www.lullabot.com/articles/introduction-unit-testing) and I just couldn't resist trying.

The attached patch will implement the simpletest hook and add a subdirectory /tests with one testfile that holds two tests:
- create a job setting
- create a job setting and submit an application for that job setting

Keep in mind that I'm still pretty new at Drupal so look out for beginner's faults.

Let me know what you think.

Gr,

Arie

AttachmentSize
job_posting5.1.2.simpletest.patch14.58 KB

#1

ainigma32 - June 23, 2008 - 21:42

I just noticed that I left my domain in the email addresses for the test users.

Rerolled the patch.

AttachmentSize
job_posting5.1.2.simpletest.patch 14.28 KB

#2

gmarus - September 30, 2009 - 17:12
Status:needs review» closed
 
 

Drupal is a registered trademark of Dries Buytaert.