Skip to content
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 option to run tests asynchronously #87

Open
molovo opened this issue Aug 30, 2017 · 1 comment
Open

Add option to run tests asynchronously #87

molovo opened this issue Aug 30, 2017 · 1 comment
Labels
Milestone

Comments

@molovo
Copy link
Member

molovo commented Aug 30, 2017

No description provided.

@molovo molovo modified the milestone: v0.9.0 Sep 5, 2017
@molovo
Copy link
Member Author

molovo commented Sep 5, 2017

We're already running tests sort of pseudo-asynchronously when time limits are enabled, by running the test function in an asynchronous subprocess and waiting for it to finish. It would be cool to extend that to launch multiple processes simultaneously (preferably with a defined thread limit) and then map the exit codes to tests names and output results on the main thread. I tried this a while ago and failed, so it might not be possible to do that since communication between processes is difficult, but i recently did something similar in PHP using socket pairs, so want to reinvestigate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant