What is "phpunit"

Phpunit is a framework open source for the establishment of unit tests, based on , with automated testing support for PHP language created by Sebastian Bergmann. It is also a programmer-oriented test framework for PHP, and an instance of architecture xUnit for unit test structures.

Latest Stable Version: 6.0 (April 5, 2017)

Documentación Oficial
Github

Installation via PHAR

wget https://phar.phpunit.de/phpunit.phar
php phunit.phar

Installation via Composer

For a global installation run: composer global require "phpunit/phpunit=5.7.*"

For an installation for a project, add the following lines to the file composer.json of your project:

{
    "require-dev": {
        "phpunit/phpunit": "6.0.*"
    }
}