WordPress Theme Unit Tests
Upcoming SlideShare
Loading in...5
×
 

WordPress Theme Unit Tests

on

  • 507 views

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

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

Statistics

Views

Total Views
507
Views on SlideShare
506
Embed Views
1

Actions

Likes
1
Downloads
4
Comments
0

1 Embed 1

http://thewebprincess.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

WordPress Theme Unit Tests WordPress Theme Unit Tests Presentation Transcript

  • 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 to test theme styles
  • 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
  • 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
  • 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 Multisite
  • Plugin: WP Lipsum wordpress.org/plugins/ wp-lipsum/ Uses shortcodes or template tag May be easier to use on development site
  • 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