# Fork Mode for Test Plugin

**URL:** <https://discuss.gradle.org/t/fork-mode-for-test-plugin/3976>\
**Category:** Old Forum Archive\
**Created:** [June 11, 2014, 3:36pm UTC](https://discuss.gradle.org/t/fork-mode-for-test-plugin/3976 "2014-06-11T15:36:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Krzysztof\_Adamski](https://avatars.discourse-cdn.com/v4/letter/k/b77776/32.png) [@Krzysztof\_Adamski](https://discuss.gradle.org/u/Krzysztof_Adamski)\
**Post date:** [June 11, 2014, 3:36pm UTC](https://discuss.gradle.org/t/fork-mode-for-test-plugin/3976/1 "2014-06-11T15:36:00Z")

</div>

Is it possible to set fork mode to ‘method’ level. Here’s the problem. Each one of our integration tests, written in Geb, takes different time to finish. Also - some test classes have 50 tests and others have 2 tests.

We’re using ‘maxParallelForks’ to start X browsers. Tests are I think divided in groups upfront - and each browser gets assigned group of test classes. However, because there are so big differences (one class - 50 test, the other 2 test) - some groups finishes much earlier than the big classes.

So I was thinking - maybe it’s possible to fork on method level ?

---

<div class="post-metadata">

**Author:** ![Peter\_Niederwieser](https://avatars.discourse-cdn.com/v4/letter/p/9f8e36/32.png) [@Peter\_Niederwieser](https://discuss.gradle.org/u/Peter_Niederwieser)\
**Post date:** [June 11, 2014, 3:59pm UTC](https://discuss.gradle.org/t/fork-mode-for-test-plugin/3976/2 "2014-06-11T15:59:00Z")

</div>

Forking on method level isn’t supported.
