I’m at #wcsf14 and at theme review team table in contributor day room
I read this article and felt that I don’t want to do all the step every time. So here’s the command list I ran.
wp plugin install theme-check debogger log-deprecated-notices monster-widget wordpress-beta-tester regenerate-thumbnails --activate wp plugin install debug-bar wp theme install "uri-to-zip-file" wp option update blogname 'This is the long blog name for the theme review' wp option update blogdescription 'This is a very very long tagline to reviewed in theme review proccess. Yeah!' wp option update posts_per_page 5 wp option update thread_comments 1 wp option update thread_comments_depth 3 wp option update page_comments 1 wp option update comments_per_page 5 wp option update large_size_w '' wp option update large_size_h '' wp rewrite structure '/%year%/%monthnum%/%postname%' --hard wp media regenerate --yes
This is the commands to do the following.
Ensure that a few WordPress settings are modified in order to facilitate the Theme Unit 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.
Settings -> Discussion: 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.