-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Bump org.spockframework:spock-junit4 from 2.4-M6-groovy-4.0 to 2.4-groovy-5.0 #20366
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -130,12 +130,12 @@ dependencies { | |||||||||||||||||||||||
| testFixturesApi gradleTestKit() | ||||||||||||||||||||||||
| testImplementation 'org.wiremock:wiremock-standalone:3.6.0' | ||||||||||||||||||||||||
| testImplementation "org.mockito:mockito-core:${props.getProperty('mockito')}" | ||||||||||||||||||||||||
| integTestImplementation('org.spockframework:spock-core:2.4-M6-groovy-4.0') { | ||||||||||||||||||||||||
| integTestImplementation('org.spockframework:spock-core:2.4-groovy-5.0') { | ||||||||||||||||||||||||
| exclude module: "groovy" | ||||||||||||||||||||||||
| } | ||||||||||||||||||||||||
| // Integration with JUnit 4 features for Spock 2+ (which internally uses JUnit Platform - | ||||||||||||||||||||||||
| // part of JUnit 5) - https://spockframework.org/spock/docs/2.4-M6/modules.html | ||||||||||||||||||||||||
| integTestImplementation('org.spockframework:spock-junit4:2.4-M6-groovy-4.0') { | ||||||||||||||||||||||||
| integTestImplementation('org.spockframework:spock-junit4:2.4-groovy-5.0') { | ||||||||||||||||||||||||
| exclude module: "groovy" | ||||||||||||||||||||||||
| } | ||||||||||||||||||||||||
|
Comment on lines
136
to
140
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Update the outdated documentation reference. The comment references the old version 2.4-M6 in the documentation URL. Since the dependency has been upgraded to version 2.4, the documentation link should be updated accordingly. 🔎 Proposed fix- // Integration with JUnit 4 features for Spock 2+ (which internally uses JUnit Platform -
- // part of JUnit 5) - https://spockframework.org/spock/docs/2.4-M6/modules.html
+ // Integration with JUnit 4 features for Spock 2+ (which internally uses JUnit Platform -
+ // part of JUnit 5) - https://spockframework.org/spock/docs/2.4/modules.html
integTestImplementation('org.spockframework:spock-junit4:2.4-groovy-5.0') {📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||||||||
| integTestImplementation(platform("org.junit:junit-bom:${props.getProperty('junit5')}")) | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: opensearch-project/OpenSearch
Length of output: 2591
🌐 Web query:
Spock Framework 2.4 final release version compatibility and breaking changes from 2.4-M6💡 Result:
Short answer: as of the official Spock website, there is no published 2.4 "final" release page yet — only 2.4 milestone/SNAPSHOT documentation and release notes. The 2.4 line (what will become final) adds several compatibilities/features and introduces a few breaking changes compared to 2.4‑M6; the important items are below (sources cited).
Compatibility / notable platform support (2.4 line)
New features (added in the 2.4 series after earlier milestones)
Breaking / behavioral changes (differences to 2.4‑M6)
If you want, I can:
Sources:
🌐 Web query:
Spock 2.4-groovy-5.0 Maven Central availability and release notes💡 Result:
Short answer
Useful specifics
Links
If you want, I can paste the exact dependency snippets (Maven/Gradle) or fetch a direct POM/JAR URL for the 2.4-groovy-5.0 artifact.
Update the documentation URL reference in the comment on line 137.
The version upgrade is correct—spock-core 2.4-groovy-5.0 is available in Maven Central and explicitly supports Groovy 5.0. However, the inline documentation URL on line 137 still references the milestone version and should be updated from
2.4-M6to2.4:Line 137 comment that needs updating
Note: The Spock 2.4 final release includes breaking changes for
@Snapshotsnapshot directory naming and response-calculation closures in multithreaded interactions, but these are unlikely to impact this test configuration.🤖 Prompt for AI Agents