Posted by ainigma32 on June 23, 2008 at 8:44pm
| Project: | Job Posting |
| Version: | 5.x-1.2 |
| Component: | Miscellaneous |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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
| Attachment | Size |
|---|---|
| job_posting5.1.2.simpletest.patch | 14.58 KB |
Comments
#1
I just noticed that I left my domain in the email addresses for the test users.
Rerolled the patch.
#2