-
Notifications
You must be signed in to change notification settings - Fork 974
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
Look into running multiple Behat tests in parallel #3814
Comments
Another perceived pain point of running the entire test suite unnecessarily is that it blocks jobs on the other repositories. |
@schlessera Given #3728, do you think this is still necessary? |
No, at least not as a priority. The tests within one single package probably cannot be run concurrently anyway. That would only have made sense with several testing areas that don't overlap. I'll close this, and if we still have major performance problems with the tests after having everything split up, we can reconsider this. |
Just found this issue after stumbling upon https://github.com/Daniel-Marynicz/BehatParallelExtension. There is also https://github.com/liuggio/fastest Tests for a single package can easily take over 10 minutes, even on an M1 Mac. If that extension works, I think it would be an interesting addition to the test suite, especially for local development. |
Here is a proof of concept: wp-cli/wp-cli-tests#189 |
To speed up the Behat tests, we should look at splitting them up into independent groups that can run in parallel, and tweak this parallel running capacity to lower the combined total amount of time needed.
On machines with multiple processing cores, this can drastically speed up the tests.
The text was updated successfully, but these errors were encountered: