Laravel 10 not throwing any exception when using artisan test but phpunit works as expected
0
i've updated an laravel 8 project to laravel 10. everything works fine except my test. I'm doing TDD i have a test that doze a GET request to a route name that it's not defined in this case when i run my test using the command php artisan test --filter=test_get_home_page i expect to get an Symfony\Component\Routing\Exception\RouteNotFoundException with the undefined route name but instead i get "get home page → This test did not perform any assertions". Basically it's doesn't matter what the error is, i can even call a function/method that doesn't exists the test out it's the same "get home page → This test did not perform any assertions" but if i use phpunit instead of php artisan test everything works as expected and i get the expected errors.
Please help, i've been hitting my head against the wall for 3 weeks with this problem.
Here is my test:
Please or to participate in this conversation.