mardi 26 janvier 2021

How To Group All Laravel Dusk Relavent Tests Into A Single Folder And Run It

I am writing dusk tests for my project. i'm trying to put all the relevant test cases into a separate folder inside tests/Browser directory so that it looks cleaner and not messed up with nonrelevant test cases. But when i group together in to separate folder ,i am unable to run the test cases with php commad:

php artisan dusk --filter [testname]

but runs fine when running outside the created folder i.e inside default directory which is tests/Browser. i also tried the above command by specifying the folder directory with test name .it did not work.

can anyone help me how i can group together my dusk test cases and separately run them?

Aucun commentaire:

Enregistrer un commentaire