Download the PHP package zvoanhkietz/phpunit_tutorial without Composer

On this page you can find all versions of the php package zvoanhkietz/phpunit_tutorial. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package phpunit_tutorial

PHPUnit Tutorial - Calculator

Build Status Coverage Status Latest Stable Version

NetBeans PHP Sample Application

What is Calculator?

Calculator is a simple calculator that supports basic arithmetical operations. This PHP application is created to highlight PHP features supported by NetBeans IDE.

This sample is not intented to be used in a production environment without any changes.

This sample demonstrates the following features:

Requirements

Follow these before you run the sample:

What is included?

Before the start

Getting Started

  1. For the very first run, PHPUnit must be installed via Composer and PHPUnit Skeleton Generator globally (see Requirements).
  2. Now, create a unit test for Calculator class - open it in the editor and select Tools > Create Tests.
  3. Simply test the project. Right-click the project node and select Test. IDE will inform you about the test results (window with test results can be opened manually).
  4. For code coverage, open its report (right-click the project node and select Code Coverage > Show Report...) and Run All Tests if there are no data available yet. Open Calculator.php file from the list of the files to see which lines are and which lines are not tested.
  5. Play futher with the sample :)

Debugging

These steps should enable you the debugging option at the sample project, if you already have PHP debugger (Xdebug) installed and configured.
For demonstrating the PHP debugger in NetBeans, try the following:

  1. Open source class Calculator.php or generated CalculatorTest.php in the editor.
  2. Put breakpoint on some line with PHP code.
  3. To debug, right-click CalculatorTest.php and select Debug.

NetBeans PHP team, 2013 © Copyright Oracle corp., All rights reserved


All versions of phpunit_tutorial with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package zvoanhkietz/phpunit_tutorial contains the following files

Loading the files please wait ....