PluginSift
PluginsThemesCompare
Directory
  • Plugins
  • Themes
  • Compare Plugins
Plugin Comparisons
  • SEO
  • Security
  • Ecommerce
  • Page Builders
  • Caching
  • Backup
  • Forms
  • Analytics
Resources
  • About
  • Contact
  • llms.txt

© 2026 PluginSift. Data sourced from WordPress.org. · [email protected]

  1. Home
  2. Plugins
  3. Phpunit
  4. wp-unit
wp-unit icon

wp-unit

Enables you to create unit tests for your plugins, run and check the results in a centralized way.

By Ana Aires·Phpunit·Free
00
·10 active installs·Updated 15 years ago
DownloadCompare

As of April 2026, wp-unit is a WordPress phpunit plugin with 10 active installations and a 0/5 rating0. It has been downloaded 3.3K+ times in total. Requires WordPress 3.0+ and PHP false+. Available on WordPress.org since 2011. Last updated 15 years ago — may have compatibility concerns.

0/5Rating
10active installs
3.3K+total downloads
15 yearssince 2011

Overview

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.

Read full description on WordPress.org

Ratings & Reviews

00 reviews
5 ★
0
4 ★
0
3 ★
0
2 ★
0
1 ★
0

Compatibility

WordPress3.0+ requiredTested up to 3.0.5
PHPfalse+ required

Frequently Asked Questions

Changelog

2.0 Bundle phpunit.

1.1 Initial version

View full changelog on WordPress.org

Contributors

Ana AiresAna Airesnunomorgadinhonunomorgadinho
Plugin Info
Version
1.0
Last Updated
Jan 26, 2011
WP Requires
3.0+
Tested Up To
3.0.5
PHP Requires
false+
Active Installs
10
Downloads
3.3K+
Added
Jan 12, 2011
Business
Free

Tags

phpunitunit testing

Developer

A
Ana Aires
2 plugins0.0M+ total installs
View all plugins →

Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.