Theme Unit Tests
WordPress sample content
What are Theme Unit Tests?
Two forms:
1. XML file (import via Tools > Import > WordPress
2. Plugin
Provide sample content t...
Why use them?
Test theme candidates for your site or a project
Save time later by testing styles now
Check your own theme ...
WordPress.org
codex.wordpress.org/
Theme_Unit_Test
wpthemetestdata.wordpress.com/
Images, embeds
Visual Editor styles
Post...
WP Test
wptest.io
Based on wp.org's
Theme Unit Test
Cool images
Fewer nonsense
categories
Straight forward post titles
Plugin: Demo Data Creator
wordpress.org/plugins/demo-data-creator/
Has options page
Supports:
User creation
BuddyPress
Mul...
Plugin: WP Lipsum
wordpress.org/plugins/
wp-lipsum/
Uses shortcodes or
template tag
May be easier to use
on development si...
Plugin: WP Example
Content
http://wordpress.org/plugins/wp-example-content
Set bundle of 6 posts
Formatting, images, lists...
Upcoming SlideShare
Loading in...5
×

WordPress Theme Unit Tests

576

Published on

What theme unit tests are, why you would use them, and some of the different options available.

Published in: Technology, Business
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
576
On Slideshare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
5
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

WordPress Theme Unit Tests

  1. 1. Theme Unit Tests WordPress sample content
  2. 2. What are Theme Unit Tests? Two forms: 1. XML file (import via Tools > Import > WordPress 2. Plugin Provide sample content to test theme styles
  3. 3. Why use them? Test theme candidates for your site or a project Save time later by testing styles now Check your own theme development Make sure your own themes support all default WordPress content features Don’t release incomplete themes
  4. 4. WordPress.org codex.wordpress.org/ Theme_Unit_Test wpthemetestdata.wordpress.com/ Images, embeds Visual Editor styles Post formats Categories & tags Titles, excerpts, more tag, password, pagination etc
  5. 5. WP Test wptest.io Based on wp.org's Theme Unit Test Cool images Fewer nonsense categories Straight forward post titles
  6. 6. Plugin: Demo Data Creator wordpress.org/plugins/demo-data-creator/ Has options page Supports: User creation BuddyPress Multisite
  7. 7. Plugin: WP Lipsum wordpress.org/plugins/ wp-lipsum/ Uses shortcodes or template tag May be easier to use on development site
  8. 8. Plugin: WP Example Content http://wordpress.org/plugins/wp-example-content Set bundle of 6 posts Formatting, images, lists, links, blockquotes One-button sample posts removal
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×