Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce support for the Spock Testing framework #1

Closed
saw303 opened this issue Oct 19, 2018 · 9 comments
Closed

Introduce support for the Spock Testing framework #1

saw303 opened this issue Oct 19, 2018 · 9 comments
Labels
blocked-external This issue is blocked by an issue in an external project enhancement New feature or request

Comments

@saw303
Copy link

saw303 commented Oct 19, 2018

No description provided.

@paulbakker
Copy link
Collaborator

I like it! Would you like to try contributing it (I'll work on it otherwise)?

@saw303
Copy link
Author

saw303 commented Oct 19, 2018

I'd love to! But currently I wont find a spare time to actively develop that feature 😔. But I could contribute on early stage testing it on real world projects.

Please make sure that you use Spock 1.2-groovy-2.5 and at least Groovy 2.5.3. Anything else wont work on a Java 11 project

@paulbakker
Copy link
Collaborator

paulbakker commented Oct 19, 2018

It looks like Groovy is still broken if you try using it on the module-path :(

With

testCompile("org.codehaus.groovy:groovy-all:2.5.3")
testCompile("org.spockframework:spock-core:1.2-groovy-2.5")

I'm getting

Error occurred during initialization of boot layer
java.lang.module.ResolutionException: Modules org.codehaus.groovy.jmx and org.codehaus.groovy.xml export package groovy.util to module org.codehaus.groovy.console

Any tips?

@paulbakker
Copy link
Collaborator

Found the related Groovy issue as well: https://issues.apache.org/jira/browse/GROOVY-8647

@paulbakker paulbakker added the blocked-external This issue is blocked by an issue in an external project label Oct 19, 2018
@saw303
Copy link
Author

saw303 commented Nov 12, 2018

Update regarding Java 11 compatibility. Groovy 2.5.4 has been released that fixes annoying stuff when working on Java 11.

But https://issues.apache.org/jira/browse/GROOVY-8647 is still open.

@ghost
Copy link

ghost commented Aug 9, 2019

Hi, the issue is now fixed and closed. :)
@saw303, @paulbakker are there plans to introduce support for Spock in the near future?

@tlinkowski
Copy link
Collaborator

@anilewek That's cool, thanks! Please note, however, that Groovy 3 (in which this issue is fixed), is still in beta: https://groovy.apache.org/download.html

@siordache
Copy link
Collaborator

Also note that Spock does not yet support Groovy 3 (although the latest Spock snapshots seem to work well with Groovy 3).

What we can do in the meantime is adding support for Groovy 3.

@tlinkowski tlinkowski added the enhancement New feature or request label Aug 24, 2019
siordache added a commit to beryx/gradle-modules-plugin that referenced this issue May 10, 2020
@siordache
Copy link
Collaborator

Support added in 1.7.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked-external This issue is blocked by an issue in an external project enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants