There's already a test case for the front page with 20 nodes, other obvious things to test:
Cached page as an anonymous user.
node/n (no comment form or comments)
node/n (comments and comment form, possibly with two different options for comments per page).
node/add/article
node_save()
comment_save()
user_save()
taxonomy_term_save()
- all of these both creating and updating.
menu_rebuild()
Theme registry rebuild.
Full cache clears, and the page following a full cache clear.
Some of these should be done with both the standard install profile and a 'bloated' install with all modules enabled.
A page callback that prints and exits (full bootstrap but no page rendering).
Most of these are pretty simple, I'll try to get some written.
Comments
Comment #1
Anonymous (not verified) commentedi'll pick this one up when i bring the code for my sandbox over.
Comment #2
Anonymous (not verified) commentedok, i've pushed the code from my sandbox that adds profiling support:
http://drupalcode.org/project/XHProf.git/commit/cbf8d2e
Comment #3
Anonymous (not verified) commentedComment #4
catchI'll take this for a bit.
Comment #5
johnalbinI don't see any "test cases" in the module anymore in 7.x-1.x. So I'm not sure how to use any test cases. Maybe some docs?