I have:

===
tasks.withType(Test) {
    testLogging {
    …
    useJUnitPlatform()
    …
    maxParallelForks = Runtime.runtime.availableProcessors() - 2
    forkEvery = 50
    systemProperty 'runner.parallel.enabled', 'false'
    …
===

This give me the issues I am seeing.

Is this what you have, or am I missing something?

I had the initial hope that I could do some maintenance, but I am crashing and 
burning ☹

BOB

From: [email protected] <[email protected]> On Behalf Of jc
Sent: Monday, 11 April 2022 11:48 PM
To: Geb User Mailing List <[email protected]>
Subject: [geb-user] Re: Has anybody got geb-spock-reports and parallel tests 
running?

How are you running the tests in parallel?  I have success using Gradle's 
maxForks property.  I haven't tried spock's parallel execution but I honestly 
prefer Gradle's "by class" execution. I don't seem to have issues with the 
geb-spock-reports in this case.

I do share your frustration that geb-spock-reports has been abandoned.  I 
learned that it doesn't work with spock-reports:2.3-groovy-3.0.  The last one 
it seems to work on is spock-reports:2.1-groovy-3.0.  Sadly the creator said he 
doesn't use these reports anymore thus doesn't have the time nor desire to 
update it.

I think our only hope is someone else updating it and fixing it for us, but 
that's out of my wheel house.  Looks like you were able to adjust some things 
with it though, not sure if you are capable of that?  The creator did say he 
would merge any pull requests, so if someone can do that work for us we'd be 
back in business.

On Sunday, April 10, 2022 at 8:47:41 PM UTC-5 Bob Brown wrote:
I’ve been periodically trying, failing and dumping my thoughts/attempts/nasty 
hacks at:

https://github.com/AOEpeople/geb-spock-reports/issues/34

Geb-spock-reports is actually a nice framework and works well if all tests are 
sequentially executed.
I have tweaked a template to get everything I need, including 
screenshots/thumbnails, as in this blurry example:

[https://groups.google.com/group/geb-user/attach/b3c0fde3d5202/image001.png?part=0.1&view=1]

Of course, as I get more tests going the desire/need to run in parallel 
increases…

Alternatively, since geb-spock-reports seems abandonware (or at least, the 
author is [sadly] not responding to issues [I’m not trying to play the blame 
game here, please note]), can anyone recommend an equivalent package?

Cheers,

BOB
--
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]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/geb-user/6cad89d7-2f92-469f-a9db-43b2ca991b07n%40googlegroups.com<https://groups.google.com/d/msgid/geb-user/6cad89d7-2f92-469f-a9db-43b2ca991b07n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/geb-user/SY4P282MB188327879C9B3353CFD4D51DEDED9%40SY4P282MB1883.AUSP282.PROD.OUTLOOK.COM.

Reply via email to