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

---

Pretražite dodatke

Ovaj dodatak **nije testiran s najnovija 3 glavna izdanja WordPress-a**. Možda se
više ne održava ili se ne podržava i može imati problema sa kompatibilnošću kada
se koristi sa novijim verzijama WordPress-a.

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

# wp-unit

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

[Skini](https://downloads.wordpress.org/plugin/wp-unit.2.0.zip)

 * [Detalji](https://bs.wordpress.org/plugins/wp-unit/#description)
 * [Recenzije](https://bs.wordpress.org/plugins/wp-unit/#reviews)
 *  [Instalacija](https://bs.wordpress.org/plugins/wp-unit/#installation)
 * [Razvoj](https://bs.wordpress.org/plugins/wp-unit/#developers)

 [Podrška](https://wordpress.org/support/plugin/wp-unit/)

## Opis

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.

## Instalacija

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

## ČPP

None yet.

## Recenzije

Nema recenzija za ovaj dodatak.

## Saradnici i programeri

“wp-unit” is open source software. The following people have contributed to this
plugin.

Doprinositelji

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

[Prevedi “wp-unit” na vaš jezik.](https://translate.wordpress.org/projects/wp-plugins/wp-unit)

### Zainteresirani za razvoj?

[Pregledajte kôd](https://plugins.trac.wordpress.org/browser/wp-unit/), pogledajte
[SVN spremište](https://plugins.svn.wordpress.org/wp-unit/)ili se pretplatite na
[dnevnik razvoja](https://plugins.trac.wordpress.org/log/wp-unit/) od [RSS](https://plugins.trac.wordpress.org/log/wp-unit/?limit=100&mode=stop_on_copy&format=rss).

## Zapis promijena

2.0 Bundle phpunit.

1.1 Initial version

## Meta

 *  Version **1.0**
 *  Last updated **prije 15 godina**
 *  Active installations **10+**
 *  WordPress version ** 3.0 ili viša **
 *  Tested up to **3.0.5**
 *  Language
 * [English (US)](https://wordpress.org/plugins/wp-unit/)
 * Tags
 * [phpunit](https://bs.wordpress.org/plugins/tags/phpunit/)[unit testing](https://bs.wordpress.org/plugins/tags/unit-testing/)
 *  [Napredni pogled](https://bs.wordpress.org/plugins/wp-unit/advanced/)

## Ocjene

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/)

## Doprinositelji

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

## Podrška

Imate nešto za reći? Trebate pomoć?

 [Pogledaj forum podrške](https://wordpress.org/support/plugin/wp-unit/)

## Pokloni

Da li bi ste željeli da podržite napredovanje ovog proširenja?

 [ Pokloni ovom proširenju ](http://www.widgilabs.com)