-
Notifications
You must be signed in to change notification settings - Fork 110
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
It would be nice to be able to limit the number of jobs used by TestTree
s
#406
Comments
I think |
And that led me to |
Indeed, |
@michaelpj it is admittedly awkward, but you can pattern-match on PlusTestOptions mkSequential = sequentialTestGroup "foo" AllFinish [] and then defaultMain $ PlusTestOptions mkSequential testTree I'm curious if it works, please tell if you give it a try. |
contructors of TestTree aren't exported, so PlusTestOptions is not visible :/ |
@dyniec constructors of |
From looking at the code and experimentation, I believe that the
NumThreads
option only takes effect at the top-level. So you can't, for example, limit a particular test tree to be run with only one job (in case the tests interfere with each other).The text was updated successfully, but these errors were encountered: