To Run This Program Follow Bellow Steps:
- Clone this Repository
git clone https://github.com/rifatcse09/commission-calculate
- Traverse to root directory of the project
~/commission-calculate
- Run
composer install
from Terminal - keep the Input File here, default has given as
input.csv
- Run
php script.php <fileName>
to run the program, replace<fileName>
by input file name.- Example:
php script.php input.csv
- Example:
- To run Unit Test, go to root directory
~/commission-calculate
- Run
bin/phpunit tests
to run test of the program from project root directory
Thanks for your time. :)