-
-
Notifications
You must be signed in to change notification settings - Fork 268
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
Parallel tests #306
Comments
Work happening on v10 branch. Todo List:
|
Only one checkbox left, but it's a pretty big one. |
@isaacs I like how "add domains" was carefully omitted from the list :) or maybe you haven't added them yet? It's a fairly big change :) I am a fan of domains and would like for more people to admit they are useful. nope, definitely see some domain use going on in the codebase :) welcome to the club. A much better pattern than the one that Mocha uses. |
Any progress on that? |
Allow buffered tests to be run concurrently.
Depends on #305.
The output, regardless of which test actually runs first, will be:
Do this by making parallel tests be buffered (using whatever mechanism is built for #305), and just kick them off right away, regardless of whether or not there's a
this._currentChild
. When encountered in the queue, if they're finished, then their buffered output is handled. If they aren't, then the process waits for them to finish before proceeding.What this will mean is that a
parallel: true
subtest won't wait for non-parallel tests, but non-parallel tests will wait for a parallel test that might precede it.This will be particularly useful for running a bunch of tests that all have to hit a server, and then following it up with a non-parallel test to close down the server once they're all done.
The text was updated successfully, but these errors were encountered: