Closed shisheng-1 closed 2 years ago
Hi @shisheng-1
Thank you for the addition. We don't run that many tests yet, but this is a good addition if we add more tests in the future. I've not used this feature myself, so I can't vouch for its importance.
Perhaps @alexhauser knows more about this feature and could weigh in with his thoughts.
Best regards Daniel
I'm really not an expert when it comes to gradle build scripts, either.
In general, I'm not a big fan of premature optimizations or fixing non-existing (or not yet existing) problems.
@shisheng-1, can you please elaborate what adding this option will do for us at this point?
Thanks for elaborating, @shisheng-1! This actually does look like a substantial improvement, so LGTM @kalaspuffar!
Process forking options. Gradle will run all tests in a single forked VM by default. This can be problematic if there are a lot of tests or some very memory-hungry ones. We can fork a new test VM after a certain number of tests have run by setting
forkEvery
.===================== If there are any inappropriate modifications in this PR, please give me a reply and I will change them.