PHPackages                             poststatus/wptest - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. poststatus/wptest

ActiveLibrary[Testing &amp; Quality](/categories/testing)

poststatus/wptest
=================

WP Test - The Best Tests For WordPress.

1.5.0(11y ago)938350107[33 issues](https://github.com/poststatus/wptest/issues)1GPL-3.0+Shell

Since Dec 19Pushed 2y ago51 watchersCompare

[ Source](https://github.com/poststatus/wptest)[ Packagist](https://packagist.org/packages/poststatus/wptest)[ Docs](http://wptest.io)[ RSS](/packages/poststatus-wptest/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (9)DependenciesVersions (6)Used By (1)

[![WP Test](screenshots/logo.png)](http://wptest.io)

Description
-----------

[](#description)

[WP Test](http://wptest.io/) is a fantastically exhaustive set of test data to measure the integrity of your plugins and themes.

This test data comes packed with lessons learned from over four years of theme and plugin support, and baffling corner cases, to create a potent cocktail of simulated, quirky user content.

WP Test still offers the following benefits over the WordPress Unit Test data.

### Transparency

[](#transparency)

Without question, the WordPress Theme Unit Test Codex data is good place to start, but it can lag in updates. And when the test data did update, there was no indication of what had changed within the data.

WP Test comes with [release notes](#release-notes) indicating what has been added, removed, or changed within the data for each release.

### Contribution &amp; Community

[](#contribution--community)

Contributing to the WordPress Codex is fairly straightforward, but contributing to the test data is not.

By using GitHub to host the WP Test data, anyone is free to [contribute](#contributing) to the project in a multitude of ways.

### Life

[](#life)

Testing can be tedious and boring, but there is no need for the test data itself to be mundane. Lorem ipsum is effective and it does simulate text flow fairly well, but it’s boring as hell.

Content should come with life and character. There are no testing benefit to this, but it does inject personality and fun into traditionally dry content. This alone is a good enough reason for it to exist in this way.

### Guided Help

[](#guided-help)

Not only is the WP Test data content funny, it’s smart and helpful.

Whenever possible, the test data references the WordPress Codex for best practices and function references.

These kind of integration into the test data will only increase over time and lessen the barrier to resolving the issues the test data uncovers.

Installation
------------

[](#installation)

WP Test can be installed one of two ways, either via the [WordPress Admin](#installation-via-wordpress-admin) or via [WP-CLI](#installation-via-wp-cli).

### Installation via WordPress Admin

[](#installation-via-wordpress-admin)

1. Download the [data](https://github.com/manovotny/wptest/archive/master.zip) 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](http://wordpress.org/extend/plugins/wordpress-importer/) plugin, if it's not already installed, and click `Activate Plugin & Run Importer` after the installation completes.
- Choose the `wptest.xml` file you extracted from the zip in Step 2 and click `Upload 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 click `Submit`.
- 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.
- Happy testing! See [Usage](#usage) section for more details.

### Installation via WP-CLI

[](#installation-via-wp-cli)

1. Make sure you have [WP-CLI](http://wp-cli.org/) installed, if it's not already installed.

- Via the command line, execute the [`wptest-cli-install.sh`](wptest-cli-install.sh) script.
- Follow the prompts to install the WP Test data.
- Happy testing! See [Usage](#usage) section for more details.

Usage
-----

[](#usage)

Once the WP Test data is [installed](#installation), using WP Test is as simple as navigating to posts, pages, assigning menus, etc. and looking for layout, overflow, alignment, and other style and structure issues.

The test data is [self documenting](#guided-help), as much as possible, to help you fix your issues.

Contributing
------------

[](#contributing)

The word "comprehensive" was purposely left off the project 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 by [contacting us](http://wptest.io/contact/) or by adding an [issue](https://github.com/manovotny/wptest/issues). We'd love to incorporate it into the suite and help other developers squash the issue.

For more information on how to directly contribute to the project, please read the [`CONTRIBUTING.md`](CONTRIBUTING.md) file.

Let’s make WordPress testing easier and resilient together!

Release Notes
-------------

[](#release-notes)

What has been added, removed, or modified in each release is detailed in the [releases](https://github.com/manovotny/wptest/releases) section of the project on GitHub.

License
-------

[](#license)

WP Test is licensed under the [GPL](http://www.gnu.org/licenses/gpl-3.0.html).

A copy of the [`LICENSE`](LICENSE) is included in the root of the project.

Credits
-------

[](#credits)

WP Test was created in March of 2013 by [Michael Novotny](http://manovotny.com) and has since included a number of great contributions.

The foundation of these tests are derived from [WordPress’ Theme Unit Test Codex data](http://codex.wordpress.org/Theme_Unit_Test#Test_Environment_Setup). And in the beauty of open source, many WP Test tests have been integrated back into the "official" WordPress Unit Test data, but not everything...and not what we consider to be the most useful test / corner cases.

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity37

Limited adoption so far

Community31

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 66.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~66 days

Total

5

Last Release

4265d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/944ed2dbf66df49bca75105b749133f7bb99383e403bd56da1a4fae3289599c8?d=identicon)[Viper007Bond](/maintainers/Viper007Bond)

---

Top Contributors

[![manovotny](https://avatars.githubusercontent.com/u/446260?v=4)](https://github.com/manovotny "manovotny (39 commits)")[![JeffMatson](https://avatars.githubusercontent.com/u/6805601?v=4)](https://github.com/JeffMatson "JeffMatson (10 commits)")[![krogsgard](https://avatars.githubusercontent.com/u/787877?v=4)](https://github.com/krogsgard "krogsgard (2 commits)")[![GaryJones](https://avatars.githubusercontent.com/u/88371?v=4)](https://github.com/GaryJones "GaryJones (2 commits)")[![simonwheatley](https://avatars.githubusercontent.com/u/233434?v=4)](https://github.com/simonwheatley "simonwheatley (1 commits)")[![bhubbard](https://avatars.githubusercontent.com/u/3837?v=4)](https://github.com/bhubbard "bhubbard (1 commits)")[![tnorthcutt](https://avatars.githubusercontent.com/u/796639?v=4)](https://github.com/tnorthcutt "tnorthcutt (1 commits)")[![bradp](https://avatars.githubusercontent.com/u/66798?v=4)](https://github.com/bradp "bradp (1 commits)")[![chrisbliss18](https://avatars.githubusercontent.com/u/56307?v=4)](https://github.com/chrisbliss18 "chrisbliss18 (1 commits)")[![franz-josef-kaiser](https://avatars.githubusercontent.com/u/387666?v=4)](https://github.com/franz-josef-kaiser "franz-josef-kaiser (1 commits)")

---

Tags

wordpressdataexporttestsimportunit-tests

### Embed Badge

![Health badge](/badges/poststatus-wptest/health.svg)

```
[![Health](https://phpackages.com/badges/poststatus-wptest/health.svg)](https://phpackages.com/packages/poststatus-wptest)
```

###  Alternatives

[ddeboer/data-import

Import data from, and export data to, a range of file formats and media

5604.3M9](/packages/ddeboer-data-import)[portphp/portphp

Data import/export workflow

2702.9M22](/packages/portphp-portphp)[code-distortion/adapt

A Laravel package that builds databases for your tests, improving their speed.

2835.5k](/packages/code-distortion-adapt)[burnbright/silverstripe-importexport

An upgrade to SilverStripe's bulk loading and exporting

4534.1k1](/packages/burnbright-silverstripe-importexport)[inpsyde/wp-tests-starter

A package that helps you setting up WordPress integration test environments quickly.

251.1k1](/packages/inpsyde-wp-tests-starter)[kmi/db-sync-tool

Python script to synchronize a database from and to client systems.

323.5k](/packages/kmi-db-sync-tool)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
