Laravel setup for contribution, phpunit tests setup #47764
-
Hi, I can't find any documentation how to setup Laravel for Contributing locally. And the most important how to run framework tests! I tried to download the framework repository, make
If I install laravel/laravel - then tests just run app dummy folder, and not framework tests. I want to submit a Pull Request, but I also want to run framework tests before I do that (because in case they fail, I will need to run them locally anyway) |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
I got error in github tests, and now I really need to set it up locally, so would be great if someone can help(( |
Beta Was this translation helpful? Give feedback.
-
Update for those, who is also looking for this info:
For some reason I have memory limit error in the middle of the tests, when I run them all at once, maybe I didn't updated something correctly. |
Beta Was this translation helpful? Give feedback.
-
Fails for me with broken dependencies on
|
Beta Was this translation helpful? Give feedback.
Update for those, who is also looking for this info:
composer install
docker compose up -d
(there isdocker-compose.yml
with db and other supported engines)./vendor/bin/phpunit
For some reason I have memory limit error in the middle of the tests, when I run them all at once, maybe I didn't updated something correctly.