Re: [geb-user] Re: [ANN] Geb 5.0 has been released

2021-08-13 Thread Alexander Kriegisch
Spock 2 ist based on JUnit 5 platform [1], but for now still can be used
with JUnit 4 support [2] while migrating to JUnit 5 platform.

Because Spock now is a JUnit engine (like Jupiter) and no longer a JUnit
4 runner (Sputnik was removed), you need a workaround if your legacy
tests rely on @RunWith support such as PowerMock runner. There is a way
to keep it working for now via org.junit.platform:junit-platform-runner,
as described in [3].

See also [4] and [5].

[1] https://spockframework.org/spock/docs/2.0/all_in_one.html#_highlights
[2] https://spockframework.org/spock/docs/2.0/all_in_one.html#_junit_4_support
[3] 
https://spockframework.org/spock/docs/2.0/all_in_one.html#_sputnik_runner_removed_an_alternative
[4] https://search.maven.org/search?q=a:spock-junit4
[5] https://spockframework.org/spock/docs/2.0/all_in_one.html#junit-4
-- 
Alexander Kriegisch
https://scrum-master.de


jc schrieb am 14.08.2021 06:23 (GMT +07:00):
> Hi Marcin,
> This will no longer use Junit4, correct?
> 
> 
> On Friday, August 13, 2021 at 4:15:52 PM UTC-5 marcin@proxerd.pl
> wrote:
> 
>> Version 5.0 of Geb has been released and is available from Maven Central.
>> 
>> This is a version which is compatible with Groovy 3 and Spock 2.
>> 
>> The full list of changes is as usual available in the Book of Geb at
>> https://gebish.org/manual/5.0/#5-0.

-- 
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 geb-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/geb-user/20210814002928.1FD8278C6DC8%40dd19710.kasserver.com.


[geb-user] [ANN] Geb 5.0 has been released

2021-08-13 Thread Marcin Erdmann
Hi,

Version 5.0 of Geb has been released and is available from Maven Central.

This is a version which is compatible with Groovy 3 and Spock 2.

The full list of changes is as usual available in the Book of Geb at
https://gebish.org/manual/5.0/#5-0.

Thanks,
Marcin

-- 
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 geb-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/geb-user/CA%2B52dQRS8qOpV5k26-5UUQQyi%3DbuimMjk7mutCng9VEGTk4y9w%40mail.gmail.com.