Title: wp-unit
Author: Ana Aires
Published: <strong>12 janvier 2011</strong>
Last modified: 26 janvier 2011

---

Recherche d’extensions

Cette extension **n’a pas été testée avec plus de trois mises à jour majeures de
WordPress**. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes
de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

![](https://s.w.org/plugins/geopattern-icon/wp-unit.svg)

# wp-unit

 Par [Ana Aires](https://profiles.wordpress.org/aaires/)

[Télécharger](https://downloads.wordpress.org/plugin/wp-unit.2.0.zip)

 * [Détails](https://fr.wordpress.org/plugins/wp-unit/#description)
 * [Avis](https://fr.wordpress.org/plugins/wp-unit/#reviews)
 *  [Installation](https://fr.wordpress.org/plugins/wp-unit/#installation)
 * [Développement](https://fr.wordpress.org/plugins/wp-unit/#developers)

 [Support](https://wordpress.org/support/plugin/wp-unit/)

## 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’.

## FAQ

None yet.

## Avis

Il n’y a aucun avis pour cette extension.

## Contributeurs/contributrices & développeurs/développeuses

« wp-unit » est un logiciel libre. Les personnes suivantes ont contribué à cette
extension.

Contributeurs

 *   [ Ana Aires ](https://profiles.wordpress.org/aaires/)
 *   [ nunomorgadinho ](https://profiles.wordpress.org/nunomorgadinho/)

[Traduisez « wp-unit » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/wp-unit)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/wp-unit/), consulter
le [SVN dépôt](https://plugins.svn.wordpress.org/wp-unit/), ou s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/wp-unit/)
par [RSS](https://plugins.trac.wordpress.org/log/wp-unit/?limit=100&mode=stop_on_copy&format=rss).

## Journal des modifications

2.0 Bundle phpunit.

1.1 Initial version

## Méta

 *  Version **1.0**
 *  Dernière mise à jour **il y a 15 ans**
 *  Installations actives **10+**
 *  Version de WordPress ** 3.0 ou plus **
 *  Testé jusqu’à **3.0.5**
 *  Langue
 * [English (US)](https://wordpress.org/plugins/wp-unit/)
 * Étiquettes
 * [phpunit](https://fr.wordpress.org/plugins/tags/phpunit/)[unit testing](https://fr.wordpress.org/plugins/tags/unit-testing/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/wp-unit/advanced/)

## Évaluations

Aucun avis n’a encore été envoyé.

[Your review](https://wordpress.org/support/plugin/wp-unit/reviews/#new-post)

[Voir tous les avis](https://wordpress.org/support/plugin/wp-unit/reviews/)

## Contributeurs

 *   [ Ana Aires ](https://profiles.wordpress.org/aaires/)
 *   [ nunomorgadinho ](https://profiles.wordpress.org/nunomorgadinho/)

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/wp-unit/)

## Faire un don

Souhaitez-vous soutenir l’avancement de cette extension ?

 [ Faire un don à cette extension ](http://www.widgilabs.com)