19 Jun
Tests Progressing
Just for anyone who’s curious as to what the heck I’m doing, I have a good chunk of tests up and running. Specifically, I can automatically:
- Create posts
- Create series
- Delete posts
- Auto-validate…
- The table of contents for each post in a series
- The prev/next links for each post in a series
- The existence and proper ordering of the re-ordering drop-down
- The existence of appropriate series in the add-to-series drop-down
I have coded up all my tests for basic series manipulation, and I’m presently working on the test set for series manipulation involving drafts. These are huge, ugly, full-functionality tests, so they’ve taken a little while to write and get the kinks out of. I keep meaning to check the darn things in, but I keep putting it off. I guess I’ll make a commitment, and say I’ll get them in tonight — after all, I’ve got to show that I am actually working on something. :)
Still to do, test wise (roughly in order)…
- Series manipulations with drafts
- Deleting posts in series
- Database upgrades
- Basic configuration checks
- Corner cases and security
- Weird series names
- Series containing weird post names
- Invalid/impossible series manipulation requests
- Weird configuration setups


3 Responses to “Tests Progressing”
Posted: Jun 21st, 2007 at 07:38
Sounds ambitious. Looking forward to it….
Posted: Jun 23rd, 2007 at 19:22
hey,
Love the in series plugin. is there a way to have the TOC appear at the end of a post instead of the beginning? i feel as my series get longer my actual content will get pushed further and further down the page. thanks!
Posted: Jun 23rd, 2007 at 19:55
@Ross
First, a small digression… :)
I’ve gotten this question (”How do I move the ToC to the end of the post?”) a couple of times now, which means that I’ve made the interface too complex. However, I can implement the old/simple interface in terms of the complex interface, and then give an option for users to either use a “basic” or “advanced” interface. I filed bug 22 a while back for just this purpose. Hopefully, this will make life a lot easier for you down the road (though it isn’t much help right this instant).
Now, to answer your question:
The %toc is where the table of contents will go, and the %content is where your post’s text will go. Just make sure that the %toc comes after the %content.