How to do Unit testing?
28/09/2019
PHPUnit Testing (Using Composer)
Unit testing is a software testing method to determine each unit of the source code is tested to know they are fit to use.
Command : composer require phpunit/phpunit
It will create "vendor" folder and "phpunit" file inside it.
Create autoloader
Phpunit.xml - Create phpunit configuration file.
Testing the cases
Testing status success