PHP Unit

Synopsis

This module facilitates the users to install PHPUnit from a GC Repo. PHP Unit Testing Framework is a unit testing framework that enables developers to discover bugs and in turn drive down the costs associated with developing PHP software. The PHP Unit Testing Framework generates reports in either XML, XHTML or ASCII. Let us see, how does this module helps in installing an PHP unit.

Help Command

The help command leads the users regarding the purpose and as well as about the options that are included in the PHP unit module. It also describes the syntax for installing PHP unit. The help command for PHP unit module is shown as below.

cleopatra PHPUnit help

The syntax for declaring the help command is not case sensitive which is an added advantage. The following screenshot visualize you about the help command under PHP unit.

Installation

The command used for installing the PHP unit to the users machine is shown below.

cleopatra PHPUnit install

After inputting the command above, the following operations occurs as shown in the tabular format.

Parameters Options Comments
Install PHP Unit? (Y/N) Y(Yes) If the user wish to proceed the installation process they can input as Y.
Install PHP Unit? (Y/N) N(No) If the user wish to quit the installation process they can input as N.|

If the user proceeds the installation process the following operations occurs as shown in the tabular format.

Parameters Path Option Comments
Program data directory “/opt/phpunit (corresponding module)” Yes If the user to proceed installation with the default program data directory they can input as Yes
Program data directory User specific No(End slash) If the user wish to proceed with their own program data directory, they can input as N, and in hand specify their own location
Program executor directory (default) “/usr/bin” Yes If the user to proceed installation with the default program executor directory they can input as Yes
Program executor directory User specific No(End slash) If the user wish to proceed with their own program executor directory, they can input as N, and in hand specify they own location.|

Finally, the installation of PHP unit is completed. The following screenshot depicts visually about the process of installation.

Benefits

  • This module facilitates the user in installing PHP Unit from the GC Repo version.
  • The user can select their own path for program data directory and executor
  • The parameters used in declaring the help and installations are not case sensitive, which is added advantage while compared to others.
  • It is well-to-do in both cent OS and as well as in ubuntu.
comments powered by Disqus

Edit this document!

This file can be edited directly through the Web. Anyone can update and fix errors in this document with few clicks -- no downloads needed.

  1. Go to PHP Unit on GitHub.
  2. Edit files using GitHub's text editor in your web browser (see the 'Edit' tab on the top right of the file)
  3. Fill in the Commit message text box at the bottom of the page describing why you made the changes. Press the Propose file change button next to it when done.
  4. Then click Send a pull request.
  5. Your changes are now queued for review under the project's Pull requests tab on GitHub!

For an introduction to the documentation format please see the reST primer.