Acest modul nu a fost testat cu ultimele 3 versiuni importante ale WordPress. S-ar putea să nu mai fie întreținut sau susținut și ar putea avea probleme de compatibilitate când este folosit cu versiuni recente ale WordPress.

Image

wp-unit

Descriere

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.

Instalare

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

Întrebări frecvente

None yet.

Recenzii

Nu există nicio verificare pentru acest modul.

Contributori și dezvoltatori

„wp-unit” este un software open-source. La acest modul au contribuit următoarele persoane.

Contributori

Tradu „wp-unit” în limba ta.

Te interesează dezvoltarea?

Răsfoiește codul, vezi depozitarul SVN, sau abonează-te la jurnalul de dezvoltare prin RSS.

Istoric modificări

2.0 Bundle phpunit.

1.1 Initial version