System requirements:
- The application is built using PHP 7.3
- Composer is required to install the dependencies
How to run the program:
- Clone the repository
- Run
composer install
- copy the .env.example file to .env and set the correct url for
CURRENCY_CONVERTER_API
- Run
php src/script.php assets/input.csv
to run the program - Run
composer run test
to run the tests - Complete automation test that takes the provided input in the task, processes it and checks the output:
CommissionCalculatorTest.php