At http://2012.drupalday.es there was a Simpletest workshop were we worked on adding tests to this module.
A patch with a functional test for this module is attached in the following comment.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | site_map-1551940-1-add-functional-tests.patch | 2.61 KB | juampynr |
Comments
Comment #1
juampynr commentedHere is the patch. It enables and configures site_map and then checks that a new node with a menu entry at Main menu gets listed at /sitemap.
Comment #2
darrell_ulm commentedThanks, will take a look at it.
Comment #3
juampynr commentedDid you have a chance to have a look at this? I was hoping that it would be useful after applying patches in order to ensure the module's stability.
Comment #4
darrell_ulm commentedjuampy ,
Thanks for reminding us! Yeah, I'll keep this on my my radar over this week and try to get to it ASAP.
Thanks again.
Comment #5
darrell_ulm commentedjuampy,
Yes, patch worked fine and test works and code looks good. Applied to the current 7.x-1.x development head.
http://drupal.org/node/9099/git-instructions/7.x-1.x
Still need to push a 7.x-1.x-dev release, which has some other patches.
Thanks!
Comment #6
juampynr commented@darrellulm, great! I will see if I can add further tests for it.
Comment #7
darrell_ulm commentedThis is pushed to head, so moving to fixed.