bin/cake migrations migrate
bin/cake bake all --everything
What happens if
What happens if
What happens if
What happens if
add this at the top your tests if you get a 500 to see the “real” stacktrace
$this->disableErrorHandlerMiddleware();
Get an IDE (plugin?) which helps you execute specific tests, so you don’t have to re-execute all tests every time you debug something
Generate Code Coverage with this abomination of a command
php -d xdebug.mode=coverage vendor/bin/phpunit --coverage-html webroot/coverage
and check http://localhost:8765/coverage/index.html
or even better create a composer command for it