Title: wp-unit
Author: Ana Aires
Published: <strong>12.01.2011</strong>
Last modified: 26.01.2011

---

Шукати плагіни

Цей плагін **не перевірявся з останніми 3-ма основними випусками WordPress**. Можливо,
він більше не може розроблятися або підтримуватися, і він може мати проблеми сумісності
при використанні з більш новими версіями WordPress.

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

# wp-unit

 Від автора [Ana Aires](https://profiles.wordpress.org/aaires/)

[Завантажити](https://downloads.wordpress.org/plugin/wp-unit.2.0.zip)

 * [Деталі](https://uk.wordpress.org/plugins/wp-unit/#description)
 * [Відгуки](https://uk.wordpress.org/plugins/wp-unit/#reviews)
 *  [Встановлення](https://uk.wordpress.org/plugins/wp-unit/#installation)
 * [Розробка](https://uk.wordpress.org/plugins/wp-unit/#developers)

 [Підтримка](https://wordpress.org/support/plugin/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.

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.

## Встановлення

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

## Часті питання

None yet.

## Відгуки

Для цього плагіна немає відгуків.

## Учасники та розробники

“wp-unit” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад
наступні учасники:

Учасники

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

[Перекладіть “wp-unit” на вашу мову.](https://translate.wordpress.org/projects/wp-plugins/wp-unit)

### Цікавитесь розробкою?

[Перегляньте код](https://plugins.trac.wordpress.org/browser/wp-unit/), перегляньте
[сховище SVN](https://plugins.svn.wordpress.org/wp-unit/) або підпишіться на [журнал розробки](https://plugins.trac.wordpress.org/log/wp-unit/)
за допомогою [RSS](https://plugins.trac.wordpress.org/log/wp-unit/?limit=100&mode=stop_on_copy&format=rss).

## Журнал змін

2.0 Bundle phpunit.

1.1 Initial version

## Мета

 *  Версія **1.0**
 *  Останнє оновлення **15 років тому**
 *  Активних встановлень **10+**
 *  Версія WordPress ** 3.0 або вище **
 *  Tested up to **3.0.5**
 *  Мова
 * [English (US)](https://wordpress.org/plugins/wp-unit/)
 * Позначки
 * [phpunit](https://uk.wordpress.org/plugins/tags/phpunit/)[unit testing](https://uk.wordpress.org/plugins/tags/unit-testing/)
 *  [Розширений перегляд](https://uk.wordpress.org/plugins/wp-unit/advanced/)

## Оцінки

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/wp-unit/reviews/)

## Учасники

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

## Підтримка

Є що сказати? Потрібна допомога?

 [Перейти в форум підтримки](https://wordpress.org/support/plugin/wp-unit/)

## Пожертвування

Ви хотіли б підтримати розвиток цього плагіна?

 [ Пожертвувати на розвиток плагіна ](http://www.widgilabs.com)