Skip to content

Instantly share code, notes, and snippets.

@mbeall
Last active December 22, 2015 04:49
Show Gist options
  • Save mbeall/6420218 to your computer and use it in GitHub Desktop.
Save mbeall/6420218 to your computer and use it in GitHub Desktop.

#Getting started ##Test Environment Setup

  • Theme Check
  • Debug Bar
  • Log Deprecated Notices
  • Debogger
  • Monster Widget
  • WordPress Beta Tester
  • Regenerate Thumbnails

##WordPress Setup Ensure that a few WordPress settings are modified in order to facilitate the Unit Theme Tests:

  • Settings -> General: Set the Site Title to something fairly long, and set the Tagline to something even longer. These settings will facilitate testing how the Theme handles these values.
  • Settings -> Reading: Set "Blog pages show at most" to 5. This setting will ensure that index/archive pagination is triggered.
  • Settings -> Discussion:
  • Enable Threaded Comments, at least 3 levels deep. This setting will facilitate testing of Theme comment list styling.
  • Enable Break comments into pages, and set 5 comments per page. This setting will facilitate testing of Theme paginating link markup/styling.
  • Settings -> Media: Ensure that no values are set for max width or height of Embedded media. This setting will facilitate testing of the Theme $content_width setting/implementation.
  • Settings -> Permalinks: Ensure that a non-default permalink setting is selected, e.g. "Month and name". This setting will facilitate stepping through the Theme Unit Tests.
  • Create at least two Custom Menus
  • Long Menu: all included pages
  • Short Menu: a menu of 2-3 pages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment