🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
wp-unit icon
Possibly abandoned Tested up to 3.0.5 #1 in phpunit

wp-unit

Enables you to create unit tests for your plugins, run and check the results in a centralized way. Since version 2.0 it has phpunit bundled in so all you need to get started with unit testing is to install this plugin.

Active installs10+10+ tier
Downloads · 30d147▲ +1.4% vs prev. 30d
Rating—0 reviews
Health score23/100At risk
All-time downloads4.5KSince Jan 2011
Support resolved—No recent threads
RequiresWP 3.0PHP any
Downloads · 7d36▼ -5.3% week over week
Our verdict

Consider an alternative

wp-unit shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 16 years ago, and scores 23/100 on our health check.

  • Small user base (10+ active installs)
  • Very few reviews so far
  • No update in 15 years
  • Only tested up to WordPress 3.0 (latest is 7.1)

Daily downloads

246Aug 31Oct 14Nov 28
Yesterday4
Daily average (1y)4
Peak day10Aug 1, 2026
Last 12 months1.5K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where wp-unit stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
phpunit >100 431 Best phpunit plugins →
unit testing >100 435 Best unit testing plugins →

Version adoption

Share of active sites per release.

  • 1.0100.0%

About wp-unit

From the official readme · v1.0

Description

Enables you to create unit tests for your plugins, run and check the results in a centralized way.
Since version 2.0 it has phpunit bundled in so all you need to get started with unit testing is to install this plugin.

Its based on the WordPress automated system but distributed as a plugin. Also it does not require a new database and a new configuration file so when you create your unit tests pay special attention to your database access so you keep a consistent database.

Every unit test must extend PHPUnit_Framework_TestCase and be included in the testcase directory you will find under the wp-unit plugin directory.

To run the tests go to the Unit Testing menu in the admin panel and press the Run buttom. The results will be displayed on the same page.

Feel free to give us some feedback.

Installation

  1. Inside the WordPress admin, go to Plugins > Add New and search for ‘wp-unit’.
  2. Click ‘Install’.

Changelog

None.

2.0 Bundle phpunit.

1.1 Initial version

Full changelog on WordPress.org →

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

FAQ

wp-unit: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is wp-unit free?

Yes. wp-unit is free to download and use from the official WordPress.org plugin directory.

Is wp-unit safe to use in 2026?

wp-unit shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 16 years ago, and scores 23/100 on our health check.

How many websites use wp-unit?

wp-unit is active on 10+ WordPress websites and has been downloaded 4,485 times since it launched in January 2011. It was downloaded 147 times in the last 30 days.

Does wp-unit work with WordPress 7.1?

wp-unit is officially tested up to WordPress 3.0.5, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

When was wp-unit last updated?

The latest version, 1.0, was released on January 26, 2011 (16 years ago).

Who makes wp-unit?

wp-unit is developed and maintained by Ana Aires.

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open