CtCI-6th-Edition-php icon indicating copy to clipboard operation
CtCI-6th-Edition-php copied to clipboard

Cracking the Coding Interview 6th Ed. PHP Solutions

PHP Solutions to Cracking The Coding Interview 6th Ed.

Build Status

Dependencies: PHPUnit, which can be installed either standalone or via Composer (composer.json supplied).

Running Unit Tests

Using PHPUnit installed via Composer (recommended)

First install PHPUnit (you only need to do this once)

composer install

Then you can run the unit tests using the PHPUnit that composer installed

./vendor/bin/phpunit test

Using Standalone PHPUnit

Assuming the phpunit binary is in your user's path, simply run

phpunit test