A Simple PHPUnit Example Edit By rmehdi555
======================== Source link : https://github.com/drmonkeyninja/phpunit-simple-example.git
test any class by namespace test class Model by require AND test base test /for example test push array in bace dir Definition NameSpace In composer.json Definition dir src in phpunit.xml Definition dir tests file in phpunit.xml
HELLP FOR USE :
Clone this repository and then run Composer:-
composer install
You will then be able to run the unit tests using:-
./vendor/bin/phpunit