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.
Envisager une 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.
- Petite base d'utilisateurs (plus de 10 installations actives)
- Très peu de critiques jusqu'à présent
- Pas de mise à jour dans 15 ans
- Uniquement testé jusqu'à WordPress 3,0 (le dernier est de 7,1)
Téléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where wp-unit stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| phpunit | >100 |
| unit testing | >100 |
Adoption de version
Part de sites actifs par version.
About wp-unit
À partir du Lisezmoi officiel · v1.0Description
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
- Inside the WordPress admin, go to Plugins > Add New and search for ‘wp-unit’.
- Click ‘Install’.
Journal de modifications
None.
2.0 Bundle phpunit.
1.1 Initial version
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
FAQ
wp-unit: quick answers
Réponses directes, extraites des données en direct WordPress.org.
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.
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit
