Test cases for string manipulation.
- You need a web server (e.g. Apache)
- You need PHP
- You need Composer (https://getcomposer.org)
- You need Git (https://git-scm.com)
- Clone the repository to the desired directory
git clone https://github.com/pedzed/php-string-manipulation-tests.git
- Install the Composer dependencies
composer install
- Run the unit tests
./vendor/bin/phpunit
You should see many errors/failures. You should write code, so that all errors will go away.
Note: It is not allowed to touch the /tests
folder. You may look at the code, but you may not modify it.