Testing Data for WordPress Themers
Thursday, September 24th, 2009I am releasing my test data for WordPress as an open source project.
What This Is
I love WordPress. I love the WordPress community… especially the themers. What I don’t love is downloading an awesome looking theme, only to upload it to my blog to watch it explode because the theme creator ignored testing all potential use cases of long wordpress posts, lists, links, embedded pictures, captions etc. What I can only assume is going on is that the designer makes two or three short posts and tests out there theme. While I am not going to knock the fact that many of these themes are free so I really can’t complain, it would be nice if the theme actually worked in a real life scenario. Setting up test data takes time, making sure you cover all use cases… building up a lot of data, testing out weird edge cases; hopefully this will help!
I am not completely done with it (I would say about 75%), but I figured I would stick it up and see where it goes. This is what the database is/will be made up of:
Link Categories
- Long and Short Link Categories
- Link categories with and without descriptions
Links
- Links with Short and Long Names
- Links with Normal, Long and No Descriptions
- Links with and without XFN
- Links belonging to 0, 1 and multiple categories
- Links with with and without ratings
- Private Links
Pages
- Short and Long Posts
- Short and Long Titles
- Pages with Comments on and Off
- Pages with Images Linked from other site
- Pages with Images Links from Local
- Pages with HTML formatting like links, bold, italic and headers, ordered lists, tables (See ‘Advanced Formatting’ Page)
Post Categories
- Categories with and without descriptions
- Categories with long descriptions
- Children Categories
Tags
- Tags with and without descriptions
- Two Word Tags
Posts
- 25 Posts
- Posts with 0, 1 and many categories
- Posts in children categories only
- Posts ranging in a data span of a year
- Posts with 0, 1 and many tags
- Posts with No, Short and Long Titles
- Posts with Linked and Uploaded Images
- Posts with HTML formatting like links, bold, italic and headers, ordered lists, tables (See ‘Advanced Formatting’ Page)
- Posts with Images with multiple alignments
Comments
- Posts with No Comments
- Posts with 25 Comments
- Posts with Threaded Comments
- Posts with Private Comments
- Posts with anonymous Comments.
- Posts with comments with formatting
What This Isn’t
This is not just a collection of Lorem test. Lets me honest, everything looks good with Lorem text. I strived to make this a really inclusive example of all kinds of data by selecting blog posts from all different sources that contains embedded video, code samples, heavy use of lists, child categories, etc. That being said the data isn’t designed to make sense in that it isn’t tagged or categorized in any sort of logical fashion, however it is done so that you will have a varying tag cloud, posts with no and many categories, etc.
Feedback
As always, feedback is appreciated… code contributions/expansions welcome.



