Hi!
I want to start using Laravel Dusk to my browser tests, but my test files are under resources/tests. How can I configure Dusk to search files in that directory? In composer I have added:
"autoload-dev": {
"classmap": [
"resources/tests/TestCase.php"
],
"psr-4": {
"Tests\\": "resources/tests/"
}
},
but it's not working. I installed Dusk 1.1.1, since I use Laravel 5.4
Thanks!
Di you run a composer dump-autoload after changing the composer.json file? Else it will not know that the location is changed.
Well I checked the source code, and I found out that unfortunatelly it's hardcoded.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community