Plugin info

Total downloads: 2,997
Active installs: 10
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 4
Last updated: 1/26/2011 (5453 days ago)
Added to WordPress: 1/12/2011 (14 years old)
Minimum WordPress version: 3.0
Tested up to WordPress version: 3.0.5
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 5453 days ago

20/100

Is wp-unit abandoned?

Possibly abandoned (last update 5453 days ago).

Compatibility

Requires WordPress: 3.0
Tested up to: 3.0.5
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Object Oriented Plugin Template Solution
Rating 5.0/5 (2 reviews)Active installs 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’.

Frequently Asked Questions

None yet.

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

2.0 Bundle phpunit.

1.1 Initial version