Andreas Turban

Results 61 comments of Andreas Turban

@meestchoo I could reproduce your issue with: https://github.com/spockframework/spock/commit/91c403424dfd95cbad9090f597f2e9ade787d9fa I do not yet have a quick and good solution for the problem and I am currently not able to work on...

PR #2027 will fix the issue, by checking if the `Iterable` is also a `Collection` and if not (so no size() method by contract), it will treat it the same...

I have changed #2027 to add the note and removed the change in the data provides. I am still not convinced that this is the right choice, because the call...

Very nice, but should we maybe wait for or plan a Spock 3 version? I think this change in 2.4 will hinder the adoption of the new version. And the...

@pzygielo The URL https://github.com/pzrep/spock-2.4-canonicalization/pull/2 is not accessible, it yields a 404. Can you please add the error message/exception incl stacktrace here.

The used Groovy from probably Groovy-Eclipse Compiler returns an empty String from `groovy.lang.GroovySystem.getVersion()` because the version parsing in the class `org.codehaus.groovy.util.ReleaseInfo` does not find the `META-INF/groovy-release-info.properties` file on the groovy...

The PR #2285 makes the version parsing more robust, but will not fix the issue here, because it will assume that the used Groovy version is Groovy 4.

This is intended behavior, see Javadoc of `org.mockito.Mockito.mockStatic()`: "Creates a thread-local mock controller for all static methods of the given class or interface." To activate a static mock globally, would...

This is intended behavior for `Optionals`. The default answer for `Optionals` returns an `Optional.empty()` also for RETURNS_DEEP_STUBS (see #2865 and #3097). You need to add a `when()` to return an...