I'm sure there is. I just wouldn't do it because it's asking for trouble -
you will potentially end up with thread safety issues. I don't think JUnit
was designed with running tests in parallel in mind.

Marcin

On Thu, Oct 25, 2018 at 9:33 AM <[email protected]> wrote:

> Thanks Marcin.
>
> The maxParallelForks is executing TestClasses parallel.
>
> Is there a way to run parallel tests in one testclass?
>
> Example:
> I own a class with 10 tests which I would like to run parallel to each
> other
>
>
> Am Sonntag, 21. Oktober 2018 16:35:59 UTC+2 schrieb Marcin Erdmann:
>>
>> Yes there is and I've done that a number of times in the past. I
>> parallelise Geb tests by forking multiple test JVMs. This can be done by
>> setting maxParallelForks (
>> https://docs.gradle.org/current/dsl/org.gradle.api.tasks.testing.Test.html#org.gradle.api.tasks.testing.Test:maxParallelForks)
>> on the Gradle test task running Geb tests.
>>
>> Marcin
>>
>> On Tue, Oct 9, 2018 at 2:14 PM <[email protected]> wrote:
>>
>>> Hi, is there any way to execute geb-test parallel?
>>>
>>> I was not able to finde any possible solution.
>>>
>>> Thanks for help
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Geb User Mailing List" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/geb-user/894922ab-255b-4726-b0f0-82fa1defbcd8%40googlegroups.com
>>> <https://groups.google.com/d/msgid/geb-user/894922ab-255b-4726-b0f0-82fa1defbcd8%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Geb User Mailing List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/geb-user/98497eea-3b68-4465-9f85-88d0ec80a224%40googlegroups.com
> <https://groups.google.com/d/msgid/geb-user/98497eea-3b68-4465-9f85-88d0ec80a224%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "Geb 
User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/geb-user/CA%2B52dQRcwDpqNKC2W_ysTJSJfiysZS-pLxF0tpRmuFxK42tKiA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to