-
Notifications
You must be signed in to change notification settings - Fork 120
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
Run tests on multiple cores #180
Comments
That would certainly be a nice feature! It would require re-working the main QuickCheck loop in |
@amigalemming Just as a side note, it is possible to show progress information, even when running QuickCheck properties in parallel. The hairy details:
With this approach we see progress information for the currently running test with the lowest /cc @feuerbach |
It seems that QuickCheck-2.11 uses more cores, at least |
No, it doesn't parallelise automatically! Not sure what's going on there. |
I have implemented this :) With some blood, sweat, and tears, it should be in 2.16. Stay tuned |
How soon 2.16 is expected? If it's "soon", than I won't care updating to |
@phadej There is no timeline. I think it will be a nightmare to merge, but worth it. |
To clarify; I would not wait if I were you. |
Here is a link to the paper describing the work done on this: https://arxiv.org/pdf/2404.16062 |
There are packages like pqc and tasty-quickcheck that allow to run tests in parallel on multiple cores. Since they run tests on different properties in parallel, they do no longer show the increasing test counter. Would it be possible to run different tests on the same property in parallel? This would still enable the live counter. Maybe it would even save some memory if tests on the same property share some data.
Maybe the parallel testing could be enabled by a new field of
Args
for the number of parallel testing threads?The text was updated successfully, but these errors were encountered: