-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Request: Add --parallel to deno test
#6559
Comments
Just an aside; you can test files in parallel with something like xargs or par find -name "*_test.ts" | xargs -P4 deno test -A --unstable |
With separate processes, coordinating shared resource (e.g. db) parallelism / locking is non-trivial. Within the same process you can just have the tests call a function. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Jest has parallel testing builtin. I think this feature might help contributing to the adoption of |
Yeah I've got plans to work on the test runner soon. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
I have tried the above comment. But still Deno test is running sequentially |
Might need This will be added to the test runner in 1.9 however. |
Would be nice if tests could be run in parallel.
Of course, assuming you take care of any shared resources correctly.
I'm fine giving up "leaking async ops" checks, or maybe just have one at the end "One of your tests leaked async ops, run without --parallel to troubleshoot"...
The text was updated successfully, but these errors were encountered: