Hello Guys, Today we will discuss the PHPUnit and try to make a program to perform unit testing using PHP Language. PHPUnit is complete unit testing framework written in the PHP Programming Language and was written by Sebastian Bergmann. It allows to PHP programmers to perform unit testing and practice test driven Development(TDD). For installation of the PHPUnit on Linux based system like on Ubuntu, I used following steps
$ wget https://phar.phpunit.de/phpunit.phar
$ chmod +x phpunit.phar
$ sudo mv phpunit.phar /usr/local/bin/phpunit
$ phpunit --version
PHPUnit 5.7.4 by Sebastian Bergmann and contributors.