Code Monkey home page Code Monkey logo

wp-unit's Introduction

=== wp-unit ===
Contributors: aaires, nunomorgadinho
Donate link: http://www.widgilabs.com
Tags: unit-testing, phpunit
Requires at least: 3.0
Tested up to: 3.0.4
Stable tag: 2.0

== 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'.

== Frequently Asked Questions ==

None yet.

== Changelog ==

2.0 Bundle phpunit.

1.1 Initial version

== Upgrade Notice ==

None.

== Screenshots ==

None.

wp-unit's People

Contributors

aaires avatar nunomorgadinho avatar

Stargazers

Matthew D. Groves avatar

Watchers

Matthew D. Groves avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.