Start the web server php bin/console server:start -d public Run test on file ./vendor/bin/simple-phpunit tests/Controller/Api/filenametotest.php