I’m using laravel and I’ve written some test files. But how can I exec only one file? When I do for example:
phpunit tests/resulttesting/school/deleteSchoolForRealTest It throws an error:
Cannot open file
When I run phpunit it runs all my tests. And how can I exec only one folder? I’m on a mac.
You are doing everything correctly. My correct way was:
I had same errors when I forget to start from “tests” folder
Cannot open file “EWalletTest.php”.
Use filter option