New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for parallel testing #333
Comments
@owenvoke Hello |
@kzvonov, if you're able to work on this, that would be brilliant! Sorry I haven't really had time recently to work on Laravel Zero much unfortunately. |
@owenvoke yep, I will try to get into this today's evening or tomorrow. Thanks for the trust) |
Any issues, feel free to ping me in a comment. 👍🏻 |
@owenvoke Hello! But as I understand the issue in Did I miss something? |
Hmm, that's weird... perhaps it's an issue on my local setup. |
@owenvoke no problem) But can you give me another issue to work on? |
Foundation v8.27.0 added support for parallel testing in the
test
command. However, this is currently broken as per the notes in laravel-zero/foundation#52.The issue appears to be related to the use of🤔
$app['config']
inLaravelZero\Framework\Bootstrap\LoadConfiguration
. I think this is becauseconfig()
is a function/closure, so the app appears to try and instantiate this when checked with$this->isBuildable($concrete, $abstract)
in the container resolution.If we remove the
Artisan::starting
block the parallel testing works, however the actual application then has the wrong version and name.On a side note, running Paratest directly using
LARAVEL_PARALLEL_TESTING=1 ./vendor/bin/paratest
works fine. 🤷🏻The text was updated successfully, but these errors were encountered: