Test the installation

Sending a GET request to the home page should output the following message:

{"message": "DotKernel API version 5"}

Old way of doing things, using PHP built-in server

php -S 0.0.0.0:8080 -t public

Running tests

The project has 2 types of tests: functional and unit tests, you can run both types at the same type by executing this command:

php vendor/bin/phpunit

Running unit tests

vendor/bin/phpunit --testsuite=UnitTests --testdox --colors=always

Running functional tests

vendor/bin/phpunit --testsuite=FunctionalTests --testdox --colors=always