Add test cases
wulff - May 20, 2009 - 15:09
| Project: | Nodequeue |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | wulff |
| Status: | needs review |
| Issue tags: | Simpletest |
Description
To make sure my patch from #234004: Drag and drop node ordering doesn't break anything, it seems like a good idea to add test cases to the module.
(I'm aware of the old D5 cases in http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/nodequeue/t...)
First set of tests attached.
| Attachment | Size |
|---|---|
| nodequeue.test | 12.54 KB |

#1
Thanks!
Marking as needs review.
#2
Adding tests for users with the 'administer nodequeue' permissions.
Next on the list: Tests for the API functions.
#3
Added some more test cases.
#4
Added some more test cases. Current coverage is 70%.
#5
Please accept my delayed and large thanks.
When I ran these tests, almost all pass with only a few exceptions, and then I encounter a 500 error. I need to fix my testing environment so I can finish making sure that the tests pass and then this will be committed.
#6
Finally hit 90% coverage. This set of test cases will result in a few fails until we fix a few minor issues.