WP Test 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.
The word "comprehensive" was purposely left off this description. It's not. There will always be something new squarely scenario to test. That's where you come in. Let us know of a test we're not covering. We'd love to squash it.
Let’s make WordPress testing easier and resilient together.
Follow the steps below to import the WP Test data:
- Download the data from the repository.
- Unzip the download on your computer.
- Launch your WordPress site.
- Navigate to
Tools > Import
in the WordPress admin. - Click on
WordPress
and install the WordPress Importer plugin, if it's not already installed, and clickActivate Plugin & Run Importer
after the installation completes. - Choose the
wptest.xml
file you extracted from the zip in Step 2 and clickUpload file and import
. - On the next screen, do not change or reassign anything about the authors and make sure you check the
Download and import file attachments
box before you clickSubmit
. - Let the import process run until complete. Do not close the browser tab / window or navigate away from page while importing. You should see an
All done. Have fun!
message when the import is complete. - Test away and please contribute any of tests cases you feel are missing.