Posted by Bevan on January 15, 2008 at 9:42am
3 followers
| Project: | SimpleTest |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
The attached test runs a few tests on d6's node_teaser(). It is based on several tests in http://drupal.org/node/180425. This work is sponsored by CivicActions.
It runs 119 tests but 117 of them are run by 3 assert functions in a loop that tests edge cases of node_teaser with varying $size parameters.
Comments
#1
Forgot the patch
#2
Great stuff.
I made few changes to your test.
If there is a reason you left asdlkfj in that var please comment otherwise I'll commit this.
#3
'asdlkfj' was a mistake that I had done in demonstrating how unit tests work. thanks for removing it
#4
Looking over the test it looks sane. I ran it and everything passed. marking rtbc
#5
Committed thanks Bevan and beeradb for review.
#6
Automatically closed -- issue fixed for two weeks with no activity.