- Clone this repository and
cdinto it. - Run
bin/installto install composer dependencies (basically, PHPUnit) and build classes autoload - Run
bin/testto execute unit and functional tests - Run
bin/runto run the application itself to get calculation output (both HTML and JSON) to the console
The repository contains branch with legacy code which had initially been covered with a simple functional test to ensure the refactoring changes do not break its initial workings. The test has been being preserved during the entire process of refactoring.
ANY commit on the master branch keeps the package in working state. This matches the main requirement of the refactoring process - keep the refactored code up and running after each change.