Easily do Theme Unit Testing With WPTest.io

One of the most important steps before releasing WordPress themes to public is do a lots of testing as outlined in WordPress Theme Testing Process.

One of the steps mentioned is to do Theme Unit Test. A unit testing is a test to make sure your theme display basic WordPress features correctly. These include but not limited to sticky post, quote, image alignment, protected post and etc. It’s intended to make sure your WordPress theme works flaslessly out of the box like what it’s intended to be.

wptest

If you’re looking for a unit testing data, you may dowload one from Theme Unit Test page. Alternatively, you could also use unit testing data from WPTest.io which provides you with more tests.

A fantastically exhaustive set of test data to measure the integrity of your plugins and themes.

The foundation of these tests are derived from WordPress’ Theme Unit Test Codex data. It’s paired with lessons learned from over three years of theme and plugin support, and baffling corner cases, to create a potent cocktail of simulated, quirky user content. - Michael Novotny, WPTest.io

Also, don’t forget to check out the demo page. The project is hosted in Github and contributions are welcome, especially in suggesting any missing test.

Leave a Reply

Your email address will not be published. Required fields are marked *