Closed cod3rshotout closed 1 year ago
You have to install the components by running composer install
in the package folder before running the tests.
You can also call make test
instead of ./vendor/bin/phpunit
@sebastienheyd I already have the component installed ... and I tried also with make test, the error is always the same:
/boilerplate/tests/Artisan/../../testbench/routes/channels.php): Failed to open stream: No such file or directory
I also sent you a private email
You are in the boilerplate package folder ?
@sebastienheyd yes, I have this directory structure:
/laravel
/src
/packages
/sebastienheyd
/boilerplate
I'm trying to execute the command "make test" within the "boilerplate" directory, and I get the error above:
/boilerplate/tests/Artisan/../../testbench/routes/channels.php): Failed to open stream: No such file or directory
If I browse within the vendor package "testbench", in particular to this path:
vendor/orchestra/testbench-core/laravel/routes
There is no "channels.php", so I guess this file must be copied from the boilerplate routes folder or I don't know how is possible to run the tests
I just pushed a complete refactoring of the tests, can you try with the dev-master branch?
I'm having some difficult to run the tests using phpunit and orchestra/test bench, in the package folder I wrote that command:
I get 79 errors with this result: